Modules/MySQL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
==ml_mysql - MySQL functionality==
{{Outdated|MTA now supports MySQL databases natively via the db* functions.}}
'''Available for Windows and Linux servers'''
'''Available for Windows and Linux servers'''
The MySQL module provides access to MySQL servers. It is included with [http://files.mtasa.com/apps/1.0/dm/ml_devkit.tar.gz the original module SDK package].
=== Functions ===
=== Functions ===
bool [[Modules/MySQL/MysqlOpen|mysqlOpen]] ( function, host, user, password, database name, port )
[[Modules/MySQL/MysqlCreate|mysqlCreate]]
 
[[Modules/MySQL/MysqlOpen|mysqlOpen]]
 
[[Modules/MySQL/MysqlDestroy|mysqlDestroy]]
 
[[Modules/MySQL/MysqlQuery|mysqlQuery]]
 
[[Modules/MySQL/MysqlSafeString|mysqlSafeString]]


nil [[Modules/MySQL/MysqlClose|mysqlClose]] ( mysql )
[[Category:Modules]]


bool [[Modules/MySQL/MysqlQuery|mysqlQuery]] ( mysql, function, query )
[[ru:Modules/MySQL]]

Latest revision as of 17:57, 18 September 2016

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

mysqlCreate

mysqlOpen

mysqlDestroy

mysqlQuery

mysqlSafeString