MySQL Error
#1

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

you are using wrong plugin
Reply
#3

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?
Reply
#4

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?
Reply
#5

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.
Reply
#6

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

bump
Reply
#8

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

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

It is the only solution to it..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)