Mysql Plugin fails on Linux
#1

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
Reply
#2

Maybe you are download the older version of the plugin, maybe you need the new one like R33
Reply
#3

try mysql_static.so?
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)