campsjos
New Pleskian
Some time ago I've added a MariaDb 10 docker database server following this tutorial: How to run MariaDB 10.3 on Plesk Onyx with Docker - VirtuBox
All worked fine until some days ago (maybe a week) that the DB server stopped suddenly and when I try to run it again throws this error:
Googling around everyone says that I must increase the max_allowed_packet conf option but I setted it to 10G and still no luck. I tried fiddling with other options I found that can throw this error but the error persists. Here's my custom my.cnf:
I can connect to my docker container and enter to the mysql console without problems, execute commands as well as dump my databases, so the container and it's MySQL service are running as expected. I can't find a single log file neither on the host nor the container with more information about why I can't add it to Plesk databse servers.
I tried creating more containers from the same image and also from other Docker MariaDB images with the same result: MySQL server has gone away.
It doesn't seem to be an issue with Docker containers, but with the Database Servers manager.
I ran out of ideas, any clue on what is happening here?
Thank you.
All worked fine until some days ago (maybe a week) that the DB server stopped suddenly and when I try to run it again throws this error:
Code:
The test connection to the database server has failed because of network problems:
SQLSTATE[HY000] [2006] MySQL server has gone away
Code:
[mysqld]
max_allowed_packet=10G
wait_timeout=90
net_read_timeout=90
net_write_timeout=90
interactive_timeout=300
connect_timeout=90
innodb_buffer_pool_size=16G
innodb_log_files_in_group=2
innodb_log_file_size=2G
max_connections=250
I can connect to my docker container and enter to the mysql console without problems, execute commands as well as dump my databases, so the container and it's MySQL service are running as expected. I can't find a single log file neither on the host nor the container with more information about why I can't add it to Plesk databse servers.
I tried creating more containers from the same image and also from other Docker MariaDB images with the same result: MySQL server has gone away.
It doesn't seem to be an issue with Docker containers, but with the Database Servers manager.
I ran out of ideas, any clue on what is happening here?
Thank you.