Mysql開啓遠程鏈接

vim /etc/mysql/mysql.conf.d/mysqld.cnf bind-address = 0.0.0.0 use mysql; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456'; flush privileges; /etc/init.d/mysql restart 轉載於:h
相關文章
相關標籤/搜索