Modules/MTA-MySQL: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | |||
| Line 29: | Line 29: | ||
| ==Problems== | ==Problems== | ||
| ===My server say "MODULE: Unable to find modules/mta_mysql.dll!"=== | ===(solved) My server say "MODULE: Unable to find modules/mta_mysql.dll!"=== | ||
| Read [http://forum.mtasa.com/viewtopic.php?f=90&t=21637#p270554 this topic]. | Read [http://forum.mtasa.com/viewtopic.php?f=90&t=21637#p270554 this topic]. | ||
| * '''Solved''': Download the latest version, 0.2 | |||
| ==Handler functions== | ==Handler functions== | ||
Revision as of 12:08, 25 January 2008
| Module info | |
| Name | MTA MySQL | 
| Version | 0.2 | 
| Author | Alberto Alonso (ryden) | 
| Module website | Not available | 
| Download link | Here | 
| License | BSD | 
| Written in | {{{written_in}}} | 
| Operating system | {{{operating_system}}} | 
| Compatible with | {{{compatible_with}}} | 
MTA MySQL is an alternative to the default ml_mysql module provided by the MTA team. It is available for Windows and GNU/Linux and provides the source code.
Installation
Windows
Uncompress the file mta_mysql.dll into your C:\Program files\MTA San Andreas\server\mods\deathmatch\modules\ directory and the file libmysql.dll into your C:\Program files\MTA San Andreas\server\ directory.
Then, add the following line in mtaserver.conf:
<module file="mta_mysql.dll" />
GNU/Linux
Uncompress the file mta_mysql.so in the mods/deathmatch/modules/ directory.
Then, add the following line in mtaserver.conf:
<module file="mta_mysql.so" />
Problems
(solved) My server say "MODULE: Unable to find modules/mta_mysql.dll!"
Read this topic.
- Solved: Download the latest version, 0.2
Handler functions
- mysql_connect
- mysql_close
- mysql_errno
- mysql_error
- mysql_ping
- mysql_select_db
- mysql_escape_string
- mysql_affected_rows
- mysql_change_user
- mysql_get_character_set_info
- mysql_get_client_info
- mysql_get_client_version
- mysql_get_host_info
- mysql_get_proto_info
- mysql_get_server_info
- mysql_get_server_version
- mysql_hex_string
- mysql_info
- mysql_insert_id
- mysql_query
- mysql_unbuffered_query
- mysql_set_character_set
- mysql_stat
- mysql_warning_count