This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

database

Old posts that have not been replied to for several years.
Locked
g
gk^
Halfop
Posts: 70
Joined: Sun Jul 28, 2002 6:23 am
Location: Stockholm, Sweden
Contact:

database

Post by gk^ »

Does anyone know how to make a eggie interact with mysql or postgesql (or something like that).. mayby a module for it or something..

Thanx...
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There are currently 2 ways to interface with a MySQL database, and there are most likely ways for it to interact with PSQL.

What you are trying to do with this interface, wikll depend on what the answer is.

1 of the ways to interact with MySQL (possibly PSQL, with a different package), is using a Tcl package.

This will allow you to use Tcl commands to interact, by obtaining information an manipulating the DB.

The other way for MySQL. There was a module floating about a few months back, which logged all incoming text from a IRC server. WHile this didn't allow interaction, it could be used to obtain stats, using SQL queries and a few calculations in some form of language.

There is no current way to load and save userfiles in a MySQL DB, Though it would be possible in Tcl, it would still be using eggdrops own userfile system at the same time.
g
gk^
Halfop
Posts: 70
Joined: Sun Jul 28, 2002 6:23 am
Location: Stockholm, Sweden
Contact:

Post by gk^ »

this tcl pack that you are talking about sounds intresting.. do you know where to get it?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There has been many posts on the forum about this, which a tiny search for the word MySQL would have brought them up.

A simple google search for "tcl mysql" would bring up a good candidate right away.
X
Xtianu

Post by Xtianu »

.. don't happen to know if there's something to work with Microsoft SQL Server as well?

Preferably pre-compiled for Windows.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Shudder.

Try looking on http://tcl.activestate.com/
Locked