반응형
Warning: Using a password on the command line interface can be insecure.

 

1. login-path 설정

[root@localhost ~]# mysql_config_editor set --login-path=myroot --host=localhost --user=root --password

Enter password:

 

2. 등록 내역 확인

[root@localhost ~]# mysql_config_editor print --all

 

3. login-path 사용

[root@localhost ~]# mysql --login-path=myroot

 

4. login-path 삭제

[root@localhost ~]# mysql_config_editor remove --login-path=myroot

 

5. ERROR 1045 (28000): Access denied for user 에러가 발생할 경우

패스워드를 입력할 때 "를 앞, 뒤로 붙여서 입력합니다. 특수 문자(#, $, !)가 들어갈 경우 이러한 증상이 발생할 수 있습니다.

반응형

+ Recent posts