Backup failing because database is not on same server

Argim

New member
Joined
May 11, 2009
Messages
4
Hi, I've implemented a new server to host the database, and configured the config.inc.php file (changing the mysql host ip) so that I can access the external db from phpMyAdmin, and this was successfull.

MySQL process is directly stopped on this server. And now when I try to create an Admin Backup/Transfer, I get this error:

An error occurred during the backup
Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

My question is, how do I tell DirectAdmin that the database is on another server, so I can create the site backup successfully using the external DB. Any help will be greatly appreciated, thanks!!
 
Back
Top