Mysql on a separate server from DA ?

kamino

Verified User
Joined
Dec 15, 2004
Messages
19
Location
Minneapolis, MN
Hello,


Wonder if there is a way to setup DA to use mysql on a separate server ?
Especially when users want to create or modify login's permission through DA...

Regards,
 
The following from DirectAdmin Support from this thread:
http://www.directadmin.com/forum/showthread.php?s=&threadid=2145&highlight=remote+mysql


Hello,

The external mysql option has been around for quite a while now.

Edit /usr/local/directadmin/conf/mysql.conf and set
host=your.otherserver.com

Make sure you have a "da_admin" account setup on the other server with correct permissions. This guide will help you set it up:
http://help.directadmin.com/item.php?id=45 .. Note that the "da_admin@localhost" will likely need to be replaced with "[email protected]".

Disk usage for mysql is done through mysql, not from files, thus the disk usage will work correctly. Also, for the 1.23.4 release (coming today/tomorrow) all of the database backup/restore tools will also support the feature (add -h option to the mysql commands).

John
 
Back
Top