Skip to main content

Transfer Tool w Remote Mysql (transfer to DB server)

Comments

1 comment

  • cPanelMichael
    Hello :) This issue stems from a configuration we advise against: We strongly recommend that each remote MySQL server correspond to a single cPanel & WHM server. While you can use a single remote MySQL server for multiple cPanel & WHM servers, we do not recommend this configuration.
    This is documented at: Manage MySQL" Profiles - Documentation - cPanel Documentation However, that being said, you could manually drop the users on the destination server before transferring the accounts with a command such as:
    mysql -e "DROP USER '$username'@'$hostname'"
    Replace "$username" with the username of the database, and $hostname with the host associated with the MySQL username. You can verify the hostname with a command such as:
    mysql -e "select User,Host from mysql.user where User='$username'";
    Thank you.
    0

Please sign in to leave a comment.