Quinten
Regular Pleskian
- Server operating system version
- Ubuntu 18
- Plesk version and microupdate number
- Plesk Obsidian Version 18.0.49 Update #2
Hello,
Ive stumbled on a problem that is quite urgent.
I was working on grafana when plesk on my server went down (plesk panel unreachable due to database error). The last change i made was 2 days before that and all i did was change the bind adress in my.cnf to ::
After some troubleshooting i got the plesk panel working and the DB error was gone after i changed the socket in the /etc/mysql/mariadb.conf.d/50-server.cnf from
socket = /var/run/mysqld/mysqld.sock
to
socket = /var/lib/mysql/mysql.sock
The problem with this is that the plesk panel is reachable but i cannot access any phpmyadmin application and some websites (not all) go down with some DB related connection error.
How can i fix this? and what are the correct locations for the PID file and socket file? also for the my.cnf file
Or would it be better to delete and reinstall mysql / mysql server? if so how do i do that while being careful with plesk installation and databases.
-mysql error log looks fine
-tried plesk repair
-tried mysql repair
-tried changing bind adress again
-tried taking over 50-server 50-client and my.cnf files form my other servers to see but nothing seems to work
Any help would be very much appriciated because at the moment my plesk is not reachable and i get the error:
I have searched many articles and tried many solutions on them and after working on this for 5 hrs yesterday i now come here to look for some help.
Kind Regards,
Quinten
Ive stumbled on a problem that is quite urgent.
I was working on grafana when plesk on my server went down (plesk panel unreachable due to database error). The last change i made was 2 days before that and all i did was change the bind adress in my.cnf to ::
After some troubleshooting i got the plesk panel working and the DB error was gone after i changed the socket in the /etc/mysql/mariadb.conf.d/50-server.cnf from
socket = /var/run/mysqld/mysqld.sock
to
socket = /var/lib/mysql/mysql.sock
The problem with this is that the plesk panel is reachable but i cannot access any phpmyadmin application and some websites (not all) go down with some DB related connection error.
How can i fix this? and what are the correct locations for the PID file and socket file? also for the my.cnf file
Or would it be better to delete and reinstall mysql / mysql server? if so how do i do that while being careful with plesk installation and databases.
-mysql error log looks fine
-tried plesk repair
-tried mysql repair
-tried changing bind adress again
-tried taking over 50-server 50-client and my.cnf files form my other servers to see but nothing seems to work
Any help would be very much appriciated because at the moment my plesk is not reachable and i get the error:
I have searched many articles and tried many solutions on them and after working on this for 5 hrs yesterday i now come here to look for some help.
Kind Regards,
Quinten