Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

MySQL problem

$
0
0
Code:

Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
Which results in:
Code:

Error: Function not registered: 'mysql_function_query'
Error: Function not registered: 'mysql_real_escape_string'
Error: Function not registered: 'mysql_affected_rows'
Error: Function not registered: 'cache_get_data'
Error: Function not registered: 'cache_get_row'
Error: Function not registered: 'mysql_insert_id'
Error: Function not registered: 'cache_get_field'
Error: Function not registered: 'mysql_debug'
Error: Function not registered: 'enable_mutex'
Error: Function not registered: 'mysql_connect'
Error: Function not registered: 'mysql_close'
Error: Function not registered: 'mysql_ping'
Run time error 19: "File or function is not found"

The script is using MySQL R7; yes, I know that's old, but I would like to fix this error without upgrading to a newer one as I would have to change a lot of stuff in the script. The script is working fine on Windows, the only problem is with the Linux Host I have been provided with.

I have compiled the script with R7 and the plugin in the Plugins directory of the host is also R7. Moreover, I have also tried running mysql_static.so as a replacement for this problem, however, that does not work with R7. Is there a static for R7 that would be a replacement for this problem? Other than that, I'm willing to do anything else to in order to make this work.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>