-
[ERROR][MySQL] Host is not allowed to connect to this MySQL serverDatabase 2025. 3. 22. 21:07
현상
데이터베이스 연결 불가!
원인
localhost만 접근 가능한 상태여서 외부 접근 X
해결한 방법
설정 파일 (/etc/my.cnf.d/mysql-server.cnf)에 모든 IP에서 접근 가능하게 추가 설정 후 재기동
[mysqld] bind-address = 0.0.0.0
'Database' 카테고리의 다른 글
[MySQL] 관리자 비밀번호 재설정 (Windows) (0) 2025.03.22 [ERROR][MySQL] You do not have the SUPER privilege and binary logging is enabled (0) 2025.03.22 [ERROR][MySQL] Your database use 'READ-COMMITTED' as the deafault isolation level (0) 2025.03.22 [Linux] MySQL8 설치하기 (0) 2025.03.22 PostgreSQL 설치하기 (Yum) (0) 2025.03.22