백업 문제 DirectAdmin - Centos 7

백업 문제 DirectAdmin - Centos 7

Centos 7 + DirectAdmin에서 모든 사용자를 ADMIN으로 백업하려고 할 때 문제가 있습니다.

에러 메시지:

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

일반적으로 DirectAdmin은 MySQL 사용자/비밀번호를 유지합니다 /usr/local/directadmin/conf/mysql.conf.

그러나 DirectAdmin + CentOS 7에서는 .zip 파일 안에 또 다른 MySQL(사용자/비밀번호) 파일이 있습니다 /usr/local/directadmin/conf/my.cnf.

이 파일을 확인해보세요!

관련 정보