远程访问CENTOS的MYSQL数据库设置
mysql -u root
grant all privileges on *.* to root@'%'identified by 'root'; 后面的root是root用户的密码
grant all privileges on *.* to root@'localhost'identified by 'root'; mysql -u root -p
本文共 203 字,大约阅读时间需要 1 分钟。
远程访问CENTOS的MYSQL数据库设置
mysql -u root
grant all privileges on *.* to root@'%'identified by 'root'; 后面的root是root用户的密码
grant all privileges on *.* to root@'localhost'identified by 'root'; mysql -u root -p
转载地址:http://gzsxx.baihongyu.com/