Modules/MySQL

From Multi Theft Auto: Wiki
Revision as of 17:56, 18 September 2016 by ThePiotrek (talk | contribs)
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 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 [[Modules/MySQL/MysqlCreate|mysqlCreate]] ( nil )
bool [[Modules/MySQL/MysqlOpen|mysqlOpen]] ( mysql, function, host, user, password, database name, port )
nil [[Modules/MySQL/MysqlDestroy|mysqlDestroy]] ( mysql )
bool [[Modules/MySQL/MysqlQuery|mysqlQuery]] ( mysql, function, query )
string [[Modules/MySQL/MysqlSafeString|mysqlSafeString]] ( string )