검색결과 리스트
2013/03에 해당되는 글 1건
- 2013.03.24 mysql 외부 접속 실패 10061
글
1. 방화벽 문제
1.1 서버 방화벽 문제
sudo iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT
3306 input port를 개방.
1.2 클라이언트 방화벽 문제
2. mysql 설정에서 외부 접속을 허용하고 있지 않다.
my.cnf를 수정해야 한다. (ubuntu - /etc/mysql/my.cnf)
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
# bind-address = 127.0.0.1
출처
1. http://blog.daum.net/tiljw/56
2. http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_db&wr_id=116792&sca=&sfl=wr_subject%7C%7Cwr_content&stx=compatible&sop=and&page=2
RECENT COMMENT