SA-MP Forums Archive
MySql Errors when hosted. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySql Errors when hosted. (/showthread.php?tid=529729)



MySql Errors when hosted. - RayC - 03.08.2014

I dont get errors when I'm hosting on my Windows PC on a Local Server. Whenever I use a hosted server, it's Linux and I do always convert my plugins to .so ones but I hate these errors that keep messing up my gamemode. Please help me and provide download links if you can.

Код:
Error: Function not registered: 'Streamer_CallbackHook'
Error: Function not registered: 'mysql_real_escape_string'
Error: Function not registered: 'mysql_store_result'
Error: Function not registered: 'mysql_num_rows'
Error: Function not registered: 'mysql_free_result'
Error: Function not registered: 'mysql_fetch_row_format'
Error: Function not registered: 'mysql_ping'
Error: Function not registered: 'mysql_query'
Error: Function not registered: 'mysql_connect'
Error: Function not registered: 'mysql_debug'
Error: Function not registered: 'CreateDynamicObject'
Error: Function not registered: 'mysql_retrieve_row'
Error: Function not registered: 'mysql_fetch_field_row'
Error: Function not registered: 'DestroyDynamicObject'



Re: MySql Errors when hosted. - RayC - 03.08.2014

Anybody?


Re: MySql Errors when hosted. - Virtual1ty - 05.08.2014

Make sure you add a .so extension at the end of each plugins name, and make sure it's for the right architecture (x86 or x64) and for the right distro that your Linux box uses, also make sure that's the right MySQL plugin version.


Re: MySql Errors when hosted. - Vince - 05.08.2014

What do you mean "convert"? You can't just change the extension if that's what you meant.


Re: MySql Errors when hosted. - DarkZeroX - 05.08.2014

MAJ > mysql plugins


Re: MySql Errors when hosted. - RayC - 05.08.2014

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
Make sure you add a .so extension at the end of each plugins name, and make sure it's for the right architecture (x86 or x64) and for the right distro that your Linux box uses, also make sure that's the right MySQL plugin version.
I did the .so extension in the server.cfg already. I made sure that the MYSQL plugin is correct as well.
Quote:
Originally Posted by Vince
Посмотреть сообщение
What do you mean "convert"? You can't just change the extension if that's what you meant.
Convert as in for the same .dll version, I use the .so version of it.
Quote:
Originally Posted by DarkZeroX
Посмотреть сообщение
MAJ > mysql plugins
What?..