备份问题DirectAdmin - Centos 7

时间:2015-09-02 16:45:58

标签: php centos directadmin

我希望有人可以帮助我。 在Centos 7 + DirectAdmin中,当我想以所有用户作为ADMIN进行备份时,我遇到了问题。

我用google搜索了很多东西,但没有任何帮助...... 我希望有人可以帮我解决这个问题 我准备为此付费。

错误讯息:

Error while backing up database admin_USER1
Error while backing up database admin_USER1: The sql file is 0 bytes in size: /home/admin/admin_backups/admin/backup/admin_USER1.sql
mysqldump error output: mysqldump: Got error: 1045: "Access denied for user 'da_admin'@'localhost' (using password: YES)" when trying to connect


<18:34:04>
Error while backing up database RES_USER2
Error while backing up database RES_USER2: The sql file is 0 bytes in size: /home/admin/admin_backups/ken/backup/RES_USER2.sql
mysqldump error output: mysqldump: Got error: 1045: "Access denied for user 'da_admin'@'localhost' (using password: YES)" when trying to connect

Error while backing up database RES_USER3
Error while backing up database RES_USER3: The sql file is 0 bytes in size: /home/admin/admin_backups/ken/backup/RES_USER3.sql
mysqldump error output: mysqldump: Got error: 1045: "Access denied for user 'da_admin'@'localhost' (using password: YES)" when trying to connect

1 个答案:

答案 0 :(得分:1)

您好,

您的da_admin mysql密码存在问题。你的da_admin用户无法连接mysql服务器,因为你遇到了这个问题。您需要重置da_admin mysql密码。您可以在/usr/local/directadmin/conf/mysql.conf文件中找到当前密码。请检查当前密码并尝试重置密码,这样您就不会遇到任何备份问题。您可以通过以下步骤重置da_admin mysql密码

http://help.directadmin.com/item.php?id=45