MySQL Module for Eggdrop by BarkerJr http://barkerjr.net beta tested by David "DrN" Proper http://rcs.chaotix.net
This module is designed to be an alternative to installing Tcl modules. This is made especially for Eggdrops.
########## Installation ##########
########## Tcl Commands ##########
mysql_connect
mysql_close Closed the current database connection, freeing its memory.
mysql_query
mysql_escape [byte]
mysql_errno Returns the error code that was last encountered. A list of error codes is available at: http://www.mysql.com/doc/en/Error-returns.html
mysql_ping Checks whether the connection to the server is working. If it has gone down, an automatic reconnection is attempted.
mysql_connectioninfo If connected, returns a list of database name, hostname, user, and port/sock.
mysql_insert_id Returns the ID from the last insertion.
mysql_connected Return whether the module thinks the database is linked (true) or not (false). Note: It can be wrong.
mysql_affected_rows Returns the number of rows that were changed by the last query.
Website:
https://www.barkerjr.net/eggdropmodules.html (dead link) http://web.archive.org/web/20120618070557/http://www.barkerjr.net/eggdropmodules.html http://mirror.slackware.hr/sources/mysql.mod.0.6.tar.bz2