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



MySQL r33 problem - NeroX98 - 25.09.2013

Hi guys...

I have problem with mysql... It connects succsesfully but when some function should be done, it says weird things in mysql.log:
Код:
[04:55:21] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[04:55:21] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[04:55:21] [ERROR] CMySQLQuery::Execute[VcituvanjeKukji(i)] - (error #2006) MySQL server has gone away
[04:55:21] [WARNING] CMySQLQuery::Execute[VcituvanjeKukji(i)] - lost connection, reconnecting..
[04:55:21] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[04:55:21] [ERROR] CMySQLQuery::Execute[VcituvanjeKukji(i)] - (error #2006) MySQL server has gone away
[04:55:21] [WARNING] CMySQLQuery::Execute[VcituvanjeKukji(i)] - lost connection, reconnecting..
[04:55:21] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[04:55:21] [ERROR] CMySQLQuery::Execute[VcituvanjeKukji(i)] - (error #2006) MySQL server has gone away
[04:55:21] [WARNING] CMySQLQuery::Execute[VcituvanjeKukji(i)] - lost connection, reconnecting..
[04:55:21] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
MySQL is running i checked with service mysql status... I have CentOS 6.4 64bit

Also the mysql table is imported (old backup) but there are no changes in the table structure...

What should i do ?

HELP !


Re: MySQL r33 problem - magnusburton - 25.09.2013

The developer of the MySQL plugin wrote that it's not fully working on Linux 64bit in r33. It'll be fixed in r34!

http://forum.sa-mp.com/showpost.php?...postcount=4317