Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Programming ➜ General ➜ exporting Penn data to Mysql

exporting Penn data to Mysql

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Grungies1138   (5 posts)  Bio
Date Fri 05 Dec 2003 05:49 PM (UTC)
Message
Hello all. I am wondering if it is possible to export or convert some of the Database in Penn to MySQL? basically I would like to have a realtime user authentication list for a website that a MUSH player can log on using their MUSH log in and access certain pages and information pertinent to their faction and so forth. Do you guys know if it's even possible? please email me if you know. thanks.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 08 Dec 2003 06:26 AM (UTC)
Message
Anything is possible, I suppose. The database format in PennMUSH is fairly straightforward, you could conceivably make it mySQL, however I don't see how that answers your problem.

Maybe have a background thing that every 10 minutes or so saves player information to a mySQL database, and query that for the authentication you require.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Grungies1138   (5 posts)  Bio
Date Reply #2 on Tue 16 Dec 2003 05:03 AM (UTC)
Message
What I'm looking for is something that is similar to a TinyMUSH function. It allows you to write a SQL statement to INSERT into a databse. I suck at C++ so I was wondering if there was anything already coded that might accomplish this.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Thu 18 Dec 2003 06:21 AM (UTC)
Message
Sorry, not that I am aware of.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Grungies1138   (5 posts)  Bio
Date Reply #4 on Sun 04 Jan 2004 05:10 AM (UTC)
Message
I found this while looking for something else. Check it out. If there is anyway I would love a compiled version with this patch installed. I think I could do some very interesting things with it.

http://ftp.pennmush.org/Source/contrib/PennMySQL.177p25
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


17,500 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.