在ubuntu下安装完成MySQL后
*GRANT ALL PRIVILEGES ON .* TO root@”%” IDENTIFIED BY “123” ;
flush privileges;**
还要在/etc/mysql/my.cnf中将
bind-address = 127.0.0.1改成0.0.0.0
重启mysql
/etc/init.d/mysql restart
window下使用Navicat远程连接linux下的mysql
最新推荐文章于 2021-09-13 14:36:52 发布