Modules/MySQL

From Multi Theft Auto: Wiki

Jump to: navigation, search
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 )

In other languages