MYSQL and Worldgroup
Moderator: Mod Squad
MYSQL and Worldgroup
First of all, is there any way to get the btrieve database files converted to a format mysql can read? There is a program called Conversion Tool which cost like $299 that may convert btrieve to xml (and possibly convert it back to sql?) but that's a bit pricey.
Has any one ever tried to install MYSQL as the worldgroup database? If any one has had any success, I'm sure a few of us would like to know how.
Has any one ever tried to install MYSQL as the worldgroup database? If any one has had any success, I'm sure a few of us would like to know how.
You could use an ODBC-based driver like Powerbase or whatever it was called, but ODBC is slow and not optimal.
You can't just convert the Btrieve data files - they are not stored like a SQL database would be; there's no table definition to the files - the record structure of the underlying program defines how to parse the data, which is stored in a binary format. Unfortunately, that means that a conversion program would have to be specifically written for each file.
One of the things I was doing was trying to SQLify the databases - that's the idea behind the SQLite integration. The advantage of SQLite is that it is embedded, so it's fast, like BTrieve, while using a standard database format. The disadvantage is that you can't setup a database architecture separate from the software.
Making a RDBMS available wouldn't be difficult, but it would require re-coding of the programs that would wish to be able to use it.
You can't just convert the Btrieve data files - they are not stored like a SQL database would be; there's no table definition to the files - the record structure of the underlying program defines how to parse the data, which is stored in a binary format. Unfortunately, that means that a conversion program would have to be specifically written for each file.
One of the things I was doing was trying to SQLify the databases - that's the idea behind the SQLite integration. The advantage of SQLite is that it is embedded, so it's fast, like BTrieve, while using a standard database format. The disadvantage is that you can't setup a database architecture separate from the software.
Making a RDBMS available wouldn't be difficult, but it would require re-coding of the programs that would wish to be able to use it.
OK.. So, odbc stuff seems out for now..
Back to authentication.... Since worldgroup can create a textfile with all user signup information on it, with no binary or encrypted stuff, how hard would it be to get programs that use sql to read that file and use it for all of the authentication?
I know, at minimum, you'd have to take out any signup information from the external sql programs (forums, logd, bnt, phaos, whatever) and all signups would have to go through worldgroup.
On the top line of userlist.txt, it basically tells you what the fields are between each quotes.
Back to authentication.... Since worldgroup can create a textfile with all user signup information on it, with no binary or encrypted stuff, how hard would it be to get programs that use sql to read that file and use it for all of the authentication?
I know, at minimum, you'd have to take out any signup information from the external sql programs (forums, logd, bnt, phaos, whatever) and all signups would have to go through worldgroup.
On the top line of userlist.txt, it basically tells you what the fields are between each quotes.
-
- Posts: 427
- Joined: Wed Apr 23, 2008 12:01 pm
- Location: Kitchener, ON, Canada
- Contact:
Any progress on GALSQL.DLL or some form of sql compatibility?Questman wrote:It could be done... it'd be better to create an addon that supported standard SSO techniques.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net
telnet://theswampbbs.net or http://theswampbbs.net
-
- Posts: 45
- Joined: Mon Mar 23, 2009 8:37 pm
- Location: Alabama
- Contact:
A fresh MajorMUD install can be done using Pervasive SQL as the database manager versus btrieve but that is only the actual mud data files not the WG files.
I can provide information if interested.
I can provide information if interested.
www.quest-ware.net
GreaterMUD & MajorMUD Utilities for users and sysops/mudops
http://www.gigamud.com
The NEW Megamud Project by Merlin (Author of MegaMUD)
http://www.greatermud.com
The Future of MajorMUD
GreaterMUD & MajorMUD Utilities for users and sysops/mudops
http://www.gigamud.com
The NEW Megamud Project by Merlin (Author of MegaMUD)
http://www.greatermud.com
The Future of MajorMUD
What would be better received -
(a) embedded SQLite databases (plus: fast like BTrieve, but in industry standard SQL format; minus: file-based, ultimately, and no networked db)
(b) mySQL support (plus: could use embedded version potentially OR networked version; minus: slower, requires separate Db install)
(c) either-or (plus: flexibility, easier for add-on developers to choose which they prefer; minus: take longer to do)
(a) embedded SQLite databases (plus: fast like BTrieve, but in industry standard SQL format; minus: file-based, ultimately, and no networked db)
(b) mySQL support (plus: could use embedded version potentially OR networked version; minus: slower, requires separate Db install)
(c) either-or (plus: flexibility, easier for add-on developers to choose which they prefer; minus: take longer to do)
-
- Posts: 427
- Joined: Wed Apr 23, 2008 12:01 pm
- Location: Kitchener, ON, Canada
- Contact:
I have tested the Pervasive 9.5 with pervasives btreive .dat's updated to a new version so pervasive can extract info from the .dats. I had wg running nicely on the updated dats (only for test purposes) and created many of the tables for mmud items list's etc but couldnt get pervasive to communicate with mysql. Unfortunatly one of the harddrives on my test server died and havent got back to it yet in hope of Questman's completion of galsql.dllGardner Denver wrote:A fresh MajorMUD install can be done using Pervasive SQL as the database manager versus btrieve but that is only the actual mud data files not the WG files.
I can provide information if interested.
I will see what you have over their.
Last edited by Stoneslinger76 on Tue Apr 07, 2009 11:17 am, edited 1 time in total.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net
telnet://theswampbbs.net or http://theswampbbs.net
-
- Posts: 427
- Joined: Wed Apr 23, 2008 12:01 pm
- Location: Kitchener, ON, Canada
- Contact:
Questman wrote:What would be better received -
(a) embedded SQLite databases (plus: fast like BTrieve, but in industry standard SQL format; minus: file-based, ultimately, and no networked db)
(b) mySQL support (plus: could use embedded version potentially OR networked version; minus: slower, requires separate Db install)
(c) either-or (plus: flexibility, easier for add-on developers to choose which they prefer; minus: take longer to do)
A: Probably the most compatible to worldgroup but doesnt make for an easy interface for the self educated wanna be programmer. The non networked db would be a drawback.
B: I had this running thru xampp, but didnt seem to be all that reliable. Even with just a message base running in it would eat up system resources and crash for no apparant reason while idle. Maybee the dual p3 600 cpu's and gig of ram were not enough (win 2k server).
C: Either- OR I like that concept

I am curious as to what other sysop's thoughts are.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net
telnet://theswampbbs.net or http://theswampbbs.net
-
- Posts: 427
- Joined: Wed Apr 23, 2008 12:01 pm
- Location: Kitchener, ON, Canada
- Contact:
I would be interested in testing it as it would give us a better idea of what direction is best.Questman wrote:The DLL works, and it's primitive. I'd like to make the routines more user friendly, I'd like to create a C++ object version of it for smarter coding, and I'd like to performance/battle test it.
If you think this is something that would be of value I could focus on it as a sooner term thing...

We could start with option A and then move on to more complex configurations as needed.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net
telnet://theswampbbs.net or http://theswampbbs.net