SA-MP Forums Archive
MySQL server has gone away. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MySQL server has gone away. (/showthread.php?tid=548812)



MySQL server has gone away. - AndySedeyn - 02.12.2014

Код:
[WARNING] cache_get_row_count - no active cache
[ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
I am getting an error resulting in nobody being able to connect to my test-server (Including myself).
I downloaded HeidiSQL to see if the database of my host was available and it was.

Is anyone familiar with this problem?
Help is much appreciated!

Edit

Extra information:
-I have defined the MySQL database in my gamemode as given by the host.
-My plugin is R37.


Re: MySQL server has gone away. - Ahammad - 02.12.2014

You should be download mysql file. And support for mysql. 122 Mb navigator software download it with start to mysql locat to there.


Re: MySQL server has gone away. - AndySedeyn - 02.12.2014

Quote:
Originally Posted by Ahammad
Посмотреть сообщение
You should be download mysql file. And support for mysql. 122 Mb navigator software download it with start to mysql locat to there.
What?


Re: MySQL server has gone away. - zT KiNgKoNg - 02.12.2014

Quote:
Originally Posted by Bible
Посмотреть сообщение
What?
The error you're running into means that you've lost connection to the Database/Host of the MySQL server.


Re: MySQL server has gone away. - Dredd - 02.12.2014

Quote:
Originally Posted by zT KiNgKoNg
Посмотреть сообщение
The error you're running into means that you've lost connection to the Database/Host of the MySQL server.
We've tried it on different MySQL servers, none of them worked.
Also, we tested via HeidiSQL if the database is available, and it was.


Re: MySQL server has gone away. - AndySedeyn - 02.12.2014

Quote:
Originally Posted by zT KiNgKoNg
Посмотреть сообщение
The error you're running into means that you've lost connection to the Database/Host of the MySQL server.
That I figured. What causes it and how can I fix it?
Thanks for the reply though.


Re: MySQL server has gone away. - Dredd - 03.12.2014

Any solution?


Re: MySQL server has gone away. - Kelzano - 03.12.2014

Are you trying to connect through the MySQL with your own computer or through a hosted server ?
If so, did you check if your firewall is blocking your SAMP server ?


Re: MySQL server has gone away. - AndySedeyn - 03.12.2014

Quote:
Originally Posted by Kelzano
Посмотреть сообщение
Are you trying to connect through the MySQL with your own computer or through a hosted server ?
If so, did you check if your firewall is blocking your SAMP server ?
Through a hosted server and nobody is able to connect not just me.


Re: MySQL server has gone away. - Kelzano - 03.12.2014

Did you try using another script ? Has this script worked before ? Have you updated ALL your plugins/gamemodes ?