PiggyArchive / PiggyAuth

Safe & feature-rich auth plugin. Project has been discontinued
Apache License 2.0
33 stars 8 forks source link

Bug MySQL Provider #84

Closed Andrew1481432 closed 7 years ago

Andrew1481432 commented 7 years ago

I use the mysql provider often appears bug ErrorException: "mysqli::ping(): MySQL server has gone away" (EXCEPTION) in "/PiggyAuth-master/src/PiggyAuth/Tasks/PingTask" at line 34

DO NOT REMOVE THIS

Please make sure your issue complies with these guidelines:

General

Server Software:

Version of PiggyAuth:

Data Provider:

DaPigGuy commented 7 years ago

That means that connection to the MySQL db was lost.

Aericio commented 7 years ago

are you connecting to your mysql server by localhost or tcp/udp?

Andrew1481432 commented 7 years ago

I'm using tcp connection

Andrew1481432 commented 7 years ago

localhost also error occurs [12:49:57] [Server thread/CRITICAL]: Could not execute task PiggyAuth\Tasks\PingTask: mysqli::ping(): MySQL server has gone away [12:49:57] [Server thread/CRITICAL]: ErrorException: "mysqli::ping(): MySQL server has gone away" (EXCEPTION) in "/PiggyAuth-master/src/PiggyAuth/Tasks/PingTask" at line 34 [12:50:12] [Server thread/ERROR]: [PiggyAuth] Connection to MySQL Database lost.

MySQL login

mysql: host: 127.0.0.1 user: servers name: servers password: password port: 3306