Closed Supacek closed 1 year ago
I think you need it
show global variables like '%wait_timeout';
When you don't have connection after a certain period of time. Mysql will lose it
I think you need it
show global variables like '%wait_timeout';
When you don't have connection after a certain period of time. Mysql will lose it
so today same problem .i get home try to login server boom this happened
last log in loginserver is
Stmt [INSERT INTO LoginPlayerData (PlayerID,IP,Date,Time) VALUES ('admin','xxxxmyipadressxxxxx','2022-10-14','22:40:09')] Lost connection to MySQL server during query
the server is running empty no one is online so thats the probmel maybe so i need change that time probly right ?
It has told you, lost the connection mysql
wait_timeout=2880000 interactive_timeout = 2880000 You could be longer this time
It has told you, lost the connection mysql
wait_timeout=2880000 interactive_timeout = 2880000 You could be longer this time
ill try
@NEW-BOY1 is right. The MySQL settings may cause inactive connection been kicked out, you need to change some configuration or global variables. @Supacek
Fixed put times inzo mysql conf file..
[mysqld] wait_timeout=2880000 interactive_timeout = 2880000
put it in mysql.cnf
closed fixed
While server is running like 12h and i come back from work ill try to log in and i get DC today i get DBerror.log
any idea why is server shuting down ???