mysql不允许远程登录
2014-09-14 21:49
393 查看
刚安装好的mysql不允许从远程登录,只能在localhost。
此时,在localhost上登录数据库,将“user”表里的“host”项从“localhost”改为“%”,远程就可以使用"ems sql manager for mysql"等客户端工具进行连接了。
mysql>use mysql;
mysql>select host from user where user='root';
mysql>update user set host='%' where user='root' and host='localhost';
mysql>flush privileges;
此时,在localhost上登录数据库,将“user”表里的“host”项从“localhost”改为“%”,远程就可以使用"ems sql manager for mysql"等客户端工具进行连接了。
mysql>use mysql;
mysql>select host from user where user='root';
mysql>update user set host='%' where user='root' and host='localhost';
mysql>flush privileges;
相关文章推荐
- mysql 允许root从远程登录
- MySQL允许远程登录配置
- 允许远程用户登录访问mysql的方法
- mysql 允许远程登录
- CentOS 配置mysql允许远程登录
- MySQL 设置允许远程登录
- mysql 允许远程登录配置
- CentOS 配置mysql允许远程登录
- mysql 修改密码和设置允许远程登录
- 允许远程用户登录访问mysql
- mysql允许远程登录
- 允许mysql用户从远程登录
- MySQL 设置允许远程登录
- CentOS 配置mysql允许远程登录
- 允许远程用户登录访问mysql的方法
- CentOS 配置mysql允许远程登录
- mysql允许远程登录
- mysql允许远程登录
- MySQL 设置允许远程登录
- [CentOS 0010] CentOS 配置mysql允许远程登录