mysql> grant all privileges on *.* to ‘아이디’@’%’ identified by ‘비밀번호’ with grant option;
Query OK, 0 rows affected (0.08 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.05 sec)
계정을 생성한 후에
/etc/mysql/my.cnf에서
bind-address = 127.0.0.1 부분을 주석처리 한후
mysql를 재시작 한다.
Leave a Reply