Modules/MySQL

From Multi Theft Auto: Wiki
Revision as of 05:04, 26 November 2011 by John (talk | contribs) (This module is now outdated, with the new db* functions)
Jump to navigation Jump to search
Dialog-information.png This article is (partially) outdated and the information may no longer apply.

Reason: MTA now supports MySQL database natively via the db* functions.

Available for Windows and Linux servers

The MySQL module provides access to MySQL servers. It is included with the original module SDK package.

Functions

bool mysqlCreate ( nil )

bool mysqlOpen ( mysql, function, host, user, password, database name, port )

nil mysqlDestroy ( mysql )

bool mysqlQuery ( mysql, function, query )

string mysqlSafeString ( string )