安装mysql后执行如下两步
1. grant all privileges on *.* to root@'%' identified by 'QUSTDJX'
2. flush privileges
本地登陆远程服务器mysql
mysql -h xx.xx.xx.xx -P 3306 -u root -pQUSTDJX
安装mysql后执行如下两步
1. grant all privileges on *.* to root@'%' identified by 'QUSTDJX'
2. flush privileges
本地登陆远程服务器mysql
mysql -h xx.xx.xx.xx -P 3306 -u root -pQUSTDJX