Modules/MySQL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
The MySQL module provides access to MySQL servers. You can download it from [MTA Center address here].
The MySQL module provides access to MySQL servers. You can download it from [MTA Center address here].
=== Functions ===
=== Functions ===
bool [[Modules/MySQL/MysqlOpen|mysqlOpen]] ( function, host, user, password, database name, port )
bool [[Modules/MySQL/MysqlCreate|mysqlCreate]] ( nil )


nil [[Modules/MySQL/MysqlClose|mysqlClose]] ( mysql )
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 )
bool [[Modules/MySQL/MysqlQuery|mysqlQuery]] ( mysql, function, query )
string [[Modules/MySQL/MysqlSafeString|mysqlSafeString]] ( string )

Revision as of 21:51, 29 January 2007

Available for Windows and Linux servers

The MySQL module provides access to MySQL servers. You can download it from [MTA Center address here].

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 )