Since a couple of weeks my DirectAdmin backups stopped working.
For every user I get the following message:
User admin has been backed up. <2:00:01>
RoundCube Backup Error:
Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /usr/local/directadmin/scripts/backup_roundcube.php on line 114
Failed to connect to MySQL: (2002) Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
It can't connect because I've changed the mysql socket to a different location (/home/mysqldata/mysql/mysql.sock).
The weeks after changing the socket it all worked, it suddenly stopped working 2 weeks ago.
Searched everywhere to change the socket for the RoundCube backup script but I can't find a proper solution.
Who can help me out?
Kind regards,
Jordy
For every user I get the following message:
User admin has been backed up. <2:00:01>
RoundCube Backup Error:
Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /usr/local/directadmin/scripts/backup_roundcube.php on line 114
Failed to connect to MySQL: (2002) Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
It can't connect because I've changed the mysql socket to a different location (/home/mysqldata/mysql/mysql.sock).
The weeks after changing the socket it all worked, it suddenly stopped working 2 weeks ago.
Searched everywhere to change the socket for the RoundCube backup script but I can't find a proper solution.
Who can help me out?
Kind regards,
Jordy