Server

Mysql8.0 외부 접속 허용

Gerogia-Max 2019. 5. 5. 22:51

sudo mysql -u root -p password

//로 접속한후

 

create user 'root'@'%' identified by 'password';

 

grant all privileges on *.* to 'root'@'%';

 

flush privileges;

 

 

 

Mysql 8.0 은 5.7과 다르게 bind-address 주석할 필요 없음