SA-MP Forums Archive
MySQL Problems - 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 Problems (/showthread.php?tid=449392)



MySQL Problems - SkippyBall - 08.07.2013

Hello SAMPers!
I use the mysql plugins made by: BlueG
I have a linux host but when i try to open the server i get this:
http://pastebin.com/7dyE81uv ((server_log.txt with nativechecker))
If anyone could help me with this, that would be great!
Thanks!


Re: MySQL Problems - SuperViper - 08.07.2013

pawn Код:
[21:01:07]  Loading plugin: mysql.so
[21:01:07]   Failed (plugins/mysql.so: undefined symbol: _Z13stringvprintfPKcPc)
I've never seen that error before. If you're using any MySQL version above R8, I highly recommend switching back down to R7 because all of the versions above it were not made by BlueG.


Re: MySQL Problems - IstuntmanI - 08.07.2013

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
pawn Код:
[21:01:07]  Loading plugin: mysql.so
[21:01:07]   Failed (plugins/mysql.so: undefined symbol: _Z13stringvprintfPKcPc)
I've never seen that error before. If you're using any MySQL version above R8, I highly recommend switching back down to R7 because all of the versions above it were not made by BlueG.
Seriously ? That's why you recommended older versions ? It depends how you implement the version. At me R26 works flawless.

Try to use the latest MySQL Plugin version (plugin and include !), also try the both versions (static and dynamic) and see which works.


Re: MySQL Problems - SkippyBall - 08.07.2013

I switched from the "X86 (compiled on Ubuntu)" one to the "Ubuntu" one wich is still R7.
Now i just get this:
[21:37:56] Error: Function not registered: 'mysql_query'
No other errors.


Re: MySQL Problems - ezra112 - 08.07.2013

jaja


Re: MySQL Problems - SuperViper - 08.07.2013

R7 doesn't have mysql_query. You need to convert your script to use threaded MySQL functions.


Re: MySQL Problems - SkippyBall - 08.07.2013

And how do i do that?


Re: MySQL Problems - IstuntmanI - 08.07.2013

https://sampforum.blast.hk/showthread.php?tid=337810