투덜이 개발자

mysqldump: Got error: 1045: "Access denied for user 'tms_oatc'@'localhost' (using password: YES)" when trying to connect 본문

DataBase/MySQL

mysqldump: Got error: 1045: "Access denied for user 'tms_oatc'@'localhost' (using password: YES)" when trying to connect

엠투 2024. 3. 22. 12:48
반응형

mysql 백업시

mysqldump --routines --triggers -u 아아디 -p비밀번호 --max_allowed_packet=512M 디비명 > 백업파일명

와 같이 하면 잘 되었지만 최근 보안 업데이트 설정으로 아래와 같이 에러가 발생한다.

mysqldump: Got error: 1045: "Access denied for user '아이디'@'localhost' (using password: YES)" when trying to connect

 

mysqldump --routines --triggers -u 아아디 -p'비밀번호' --max_allowed_packet=512M 디비명 > 백업파일명

로 변경 하면 해결 됨

'비밀번호' 로 감사주면 됨..

 

 

https://hoststud.com/resources/how-to-fix-mysqldump-error-1045.813/

 

How to fix mysqldump error 1045?

Sometimes, you might be in hurry to complete your work. So, the main existence of the problem is from our end! Here too the existence of an error called mysqldump error 1045 is very risky. For backing up the database we will be using mysqldump...

hoststud.com

 

반응형