Modules/MySQL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 15: Line 15:


[[Category:Modules]]
[[Category:Modules]]
[[ru:Modules/MySQL]]

Revision as of 08:55, 20 May 2012

Dialog-information.png This article is (partially) outdated and the information may no longer apply.

Reason: MTA now supports MySQL databases 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 )