解决root用户远程访问MYSQL问题 SQL Error (1130): Host '10.16.1.50' is not allowed to connect to this MySQL server 说明所连接的用户帐号没有远程连接的权限,只能在本机(localhost)登录。 需更改 mysql 数据库里的 user表里的 host项 把localhost改称%
解决root用户远程访问MYSQL问题SQL Error (1130): Host '10.16.1.50' is not allowed to connect to this MySQL server
说明所连接的用户帐号没有远程连接的权限,只能在本机(localhost)登录。
需更改 mysql 数据库里的 user表里的 host项
把localhost改称%
首先按下面的步骤登录Mysql服务器
登录mysql需要切换到dos下的mysql的bin目录,进行如下操作:
mysql>use mysql;
?
?
mysql>update user set host = '%' ?where user ='root';
?
?
mysql>flush privileges;
?
?
mysql>select 'host','user' from user where user='root';
?
?
mysql>quit
?
?
源:http://blog.csdn.net/xianyao_shi/article/details/7190877
?
http://blog.csdn.net/tys1986blueboy/article/details/7056835
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号