Virtualmin fail to backup

Operating system: Ubuntu Linux
OS version: 18.04.5

Seems yestarday i get an update for sql server and right now i cannot backup anything, i cannot use apt-get upgrade commands. I get this message when i try to make an backup

backup of mysql failed : mysql::execute_sql failed : DBI connect failed : Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2).

Seems its a problem on sql server side.

Thanks,
Edy

Hi,

This error can happen if your MySQL server isn’t running.

Try running the following commands and see if it help. If not, what is the output of these commands:

ps aux |grep mysql
systemctl status mysql
systemctl restart mysql
ps aux |grep mysql

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.