검색결과 리스트
글
[MySql]is not allowed to connect to this MySQL server
Computer/ETC
2007. 8. 24. 14:07
출처: http://blog.naver.com/ddak2ya?Redirect=Log&logNo=30004371547 Trouble Shooting - Error MSG: Host 'XXX' is not allowed to connect to this MySQL server Host 'mcr-tf3c16x72pp' is not allowed to connect to this MySQL server |
|
|
localhost로는 접속이 가능하고 IP로는 접속이 불가능한 이유는 접속가능한 IP로 등록이 되어 있지 않기 때문입니다. select * from mysql.user 로 보시면 localhost는 보이나 IP는 보이지 않을것입니다. mysql> grant all privileges on db명.* to 사용자계정@'IP주소' identified by '비밀번호' with grant option; mysql> grant reload,process on *.* to admin@localhost; mysql> FLUSH PRIVILEGES; 위의 명령어로 접속가능한 IP로 등록해 주면됩니다. |
'Computer > ETC' 카테고리의 다른 글
원격 데스크탑 포트번호 바꾸기 (3) | 2008.11.24 |
---|---|
아웃룩에서 "보안상 안전하지 않을 수 있으므로 다음 첨부 파일에 액세스할 수 없도록 막았습니다" (0) | 2008.05.09 |
mysql , C 연동. (4) | 2007.07.25 |
Windows batch programming (0) | 2007.07.16 |
WCDMA 인터넷 하기 (2) | 2007.04.19 |