MySQL server has gone away
Error
#2980
Replies: 2 comments 1 reply
-
This should resolve the issue. Backups simply tar and move the server files into the designated backup location, you can change the location in the wings/daemon config. You can also configure files or folders to ignore in the backup process together with scheduling automated backups, in that case, the oldest backup will always be removed once the backup limit that you configured for the server is reached. You must set the backup limit higher than 0 in the game server settings before backups can be created |
Beta Was this translation helpful? Give feedback.
-
I just hit a similar problem. In the end it was due to the DB user for creating DBs not having permission to access the DB server. I'm using Ubuntu Server 20.4, with MariaDB. These are the users that I needed to make it work:
Notice the second entry for (I did iterate through trying the docker IPs, but they didn't work. In frustration I tried allowing from everywhere, ie I am not sure the panel DB user ( |
Beta Was this translation helpful? Give feedback.
-
👋 Hi there!
When I try to add a database host to the panel I get this error:
There was an error while trying to connect to the host or while executing a query: "SQLSTATE[HY000] [2006] MySQL server has gone away (SQL: SELECT 1 FROM dual)"
The panel is running on a VPS, the daemon + MySQL server is on a dedi.
I have allowed connections to all ports of the dedi from the VPS IP thru the dedi's firewall.
Any help would be much appreciated. I've been trying to figure this out for a longgggg time.
PS. How do you use the backup system? I can't seem to find any docs regarding it.
Beta Was this translation helpful? Give feedback.
All reactions