본문 바로가기

MySQL

ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1'

If you are using ubuntu, you have to use the following steps to avoid this error:

  1. run the command vim /etc/mysql/my.cnf
  2. comment bind-address = 127.0.0.1 using the # symbol
  3. restart your mysql server once.


'MySQL' 카테고리의 다른 글

MySQL charset encoding  (0) 2014.11.26
MySQL 테이블 인코딩 변경하기  (0) 2014.11.26
MySQL Job failed to start  (0) 2014.11.26
DB 중복 개수 확인  (0) 2014.11.21
[MySQL] root 비밀번호 분실  (1) 2014.11.20