Modules/MySQL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Added the category Modules)
mNo edit summary
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{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. You can download it from ''link pending''.
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/MysqlCreate|mysqlCreate]] ( nil )
[[Modules/MySQL/MysqlCreate|mysqlCreate]]


bool [[Modules/MySQL/MysqlOpen|mysqlOpen]] ( mysql, function, host, user, password, database name, port )
[[Modules/MySQL/MysqlOpen|mysqlOpen]]


nil [[Modules/MySQL/MysqlDestroy|mysqlDestroy]] ( mysql )
[[Modules/MySQL/MysqlDestroy|mysqlDestroy]]


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


string [[Modules/MySQL/MysqlSafeString|mysqlSafeString]] ( string )
[[Modules/MySQL/MysqlSafeString|mysqlSafeString]]


[[Category:Modules]]
[[Category:Modules]]
[[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