Mysql Plugin fails on Linux - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Mysql Plugin fails on Linux (
/showthread.php?tid=496154)
Mysql Plugin fails on Linux -
RyanDam - 20.02.2014
Hello, I can easily start my server on Windows, but on my dedicated(linux) it comes with some mysql errors:
Code:
[18:04:00] Error: Function not registered: 'mysql_query'
[18:04:00] Error: Function not registered: 'mysql_store_result'
[18:04:00] Error: Function not registered: 'mysql_num_rows'
[18:04:00] Error: Function not registered: 'mysql_retrieve_row'
[18:04:00] Error: Function not registered: 'mysql_fetch_field_row'
[18:04:00] Error: Function not registered: 'mysql_free_result'
[18:04:00] Error: Function not registered: 'mysql_close'
[18:04:00] Error: Function not registered: 'mysql_ping'
[18:04:00] Error: Function not registered: 'mysql_real_escape_string'
[18:04:00] Error: Function not registered: 'mysql_debug'
[18:04:00] Error: Function not registered: 'mysql_connect'
[18:04:00] Error: Function not registered: 'mysql_affected_rows'
[18:04:00] Error: Function not registered: 'mysql_stat'
[18:04:00] Error: Function not registered: 'mysql_insert_id'
[18:04:00] [debug] Run time error 19: "File or function is not found"
[18:04:00] [debug] mysql_query
[18:04:00] [debug] mysql_store_result
[18:04:00] [debug] mysql_num_rows
[18:04:00] [debug] mysql_retrieve_row
[18:04:00] [debug] mysql_fetch_field_row
[18:04:00] [debug] mysql_free_result
[18:04:00] [debug] mysql_close
[18:04:00] [debug] mysql_ping
[18:04:00] [debug] mysql_real_escape_string
[18:04:00] [debug] mysql_debug
[18:04:00] [debug] mysql_connect
[18:04:00] [debug] mysql_affected_rows
[18:04:00] [debug] mysql_stat
[18:04:00] [debug] mysql_insert_id
[18:04:00] [debug] Run time error 19: "File or function is not found"
[18:04:00] [debug] mysql_query
[18:04:00] [debug] mysql_store_result
[18:04:00] [debug] mysql_num_rows
[18:04:00] [debug] mysql_retrieve_row
[18:04:00] [debug] mysql_fetch_field_row
[18:04:00] [debug] mysql_free_result
[18:04:00] [debug] mysql_close
[18:04:00] [debug] mysql_ping
[18:04:00] [debug] mysql_real_escape_string
[18:04:00] [debug] mysql_debug
[18:04:00] [debug] mysql_connect
[18:04:00] [debug] mysql_affected_rows
[18:04:00] [debug] mysql_stat
[18:04:00] [debug] mysql_insert_id
[18:04:00] Script[gamemodes/survival21.amx]: Run time error 19: "File or function is not found"
[18:04:00] Number of vehicle models: 0
I did try to re-download the plugin and include and compile again, nothing worked. Anyone who got any ideas?
Thanks in advance,
Ryan
Re: Mysql Plugin fails on Linux -
Matt - 21.02.2014
Maybe you are download the older version of the plugin, maybe you need the new one like R33
Re: Mysql Plugin fails on Linux -
itsCody - 21.02.2014
try mysql_static.so?
Re: Mysql Plugin fails on Linux -
vsskamal - 13.05.2018
i used MySQL_static.so and it worked fine but can't connect to database even database in localhost with correct credentials
[07:24:54] [MySQL] (Main Pipelines) Connecting to localhost...
[07:24:54] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host localhost - DB: ***** - User: *****
[07:24:54] [MySQL] Note: Make sure that you have provided the correct connection credentials.
[07:24:54] [MySQL] Error number: 2002