MariaDB root로 원격에서 접속

# MariaDB root로 원격에서 접속


INSERT INTO mysql.user (host,user,authentication_string,ssl_cipher, x509_issuer, x509_subject) VALUES ('%','root',password('비밀번호'),'','','');

grant all privileges on *.* to 'root'@'%' identified by '비밀번호' with grant option;

flush privileges;

vi /etc/my.cnf.d/server.cnf
#bind-address=0.0.0.0  문장 주석제거할 것

댓글

이 블로그의 인기 게시물

Python requests 모듈 간단 정리