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



MySQL Error - 0B3Y - 08.12.2014

Can someone help me? i got this error when i tryied to start the server and the nativechecker checked it.
Код:
Error: Function not registered: 'mysql_query'
I'm using the linux static version because it's hosted server... And if i use BlueG's MySQL i will get
Код:
Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
error... and when i trying to compile it with the static a_mysql.inc it shows me this error
Код:
error 017: undefined symbol "mysql_query"
Any solution for this? Thanks.


Re: MySQL Error - JeaSon - 08.12.2014

you are using wrong plugin


Re: MySQL Error - 0B3Y - 08.12.2014

Quote:
Originally Posted by Namer
Посмотреть сообщение
you are using wrong plugin
i should using the BlueG's MySQL plugin, but as i said above... my server is hosted... I dont have permission to access the VPS.. So i'm using the Static one.. But the static doesnt support mysql_query... Anyone have updated static mysql? Or can someone solve this please?


Re: MySQL Error - 0B3Y - 08.12.2014

Now i'm using this static plugin and include https://code.******.com/p/sa-mp-mysq...bel%3AFeatured but when i tryie to compile it gives me this error
Код:
error 035: argument type mismatch (argument 1)
here's the one out of hundreds errors line.
Код:
	mysql_query(q,THREAD_BAN_CHECK_IP,playerid);
Any idea?


Re: MySQL Error - Misiur - 08.12.2014

https://github.com/pBlueG/SA-MP-MySQ...42/a_mysql.inc

Quote:

native Cache:mysql_query(conhandle, query[], bool:use_cache = true);

Unthreaded queries are the worst thing you can do to yourself, right after using dini.


Re: MySQL Error - 0B3Y - 08.12.2014

Quote:
Originally Posted by Misiur
Посмотреть сообщение
https://github.com/pBlueG/SA-MP-MySQ...42/a_mysql.inc


Unthreaded queries are the worst thing you can do to yourself, right after using dini.
So eh, how to solve it?


Re: MySQL Error - 0B3Y - 08.12.2014

bump


Re: MySQL Error - BroZeus - 08.12.2014

Learn to ******
here is the solution https://sampforum.blast.hk/showthread.php?tid=537714
Look at .15 solution


Re: MySQL Error - 0B3Y - 08.12.2014

as i said, i have no access to VPS so i cant use putty...


Re: MySQL Error - BroZeus - 08.12.2014

It is the only solution to it..