- Moving a database to a different user
To move a database from one user, to another user, run the following command:
VERBOSE=1 DBUSER="da_admin" DBPASS="da_adminpass" USERNAME="username" NEWUSERNAME="newusername" /usr/local/bin/php /usr/local/directadmin/scripts/change_database_username.php
- Replace all bold text with the appropriate info.
- Ggrab the da_adminpass from /usr/local/directadmin/conf/mysql.conf