在服务器安装完数据库以后,想要在本地 Navicat 数据库,是需要在服务器配置一下的。
1、在远程通过 mysql -uroot -p 进入数据库以后,执行:grant all privileges on *.* to "root"@"%" identified by "密码";
2、flush privileges;
在服务器安装完数据库以后,想要在本地 Navicat 数据库,是需要在服务器配置一下的。
1、在远程通过 mysql -uroot -p 进入数据库以后,执行:grant all privileges on *.* to "root"@"%" identified by "密码";
2、flush privileges;