Host...isnotallowedtoconnecttothisMySQLserver
你可以通过使用sql/Index.html'>mysql命令行工具(在服务器主机上!)修正它,把你正在试图连接的用户/主机名组合新加一行到user表中。如果你不在运行MySQL3.22并且你不知道你正在从它连接的机器的IP数字或主机名,你应该把一个%条目作为Host列值放在user表中并且在服务器机器上使用--log选项重启sql/Index.html'>mysqld。在试图从客户机器连接以后,在MySQL记录文件中的信息将显示你如何真正进行连接。(然后用在记录文件上面显示出的实际的主机名代替user表中的%条目。否则,你将有一个不安全的系统。)
sql/Index.html'>mysql
user
%
Host
--log
sql/Index.html'>mysqld
sql/Index.html'>mysql-uroottest
sql/Index.html'>mysql-hyour_hostname-uroottest
Accessdenied
tcx
tcx.subnet.se
tcx.%
sql/Index.html'>mysql-uuser_nametest
sql/Index.html'>mysql-uuser_nameother_db_name
other_db_name
db
sql/Index.html'>mysql-uuser_namedb_name
sql/Index.html'>mysql-hhost_name-uuser_namedb_name
User
someuser
localhost
some_user
host
(编辑:aniston)
·2024年12月目录 ·2024年11月目录 ·2024年10月目录 ·2024年9月目录 ·2024年8月目录 ·2024年7月目录 ·2024年6月目录 ·2024年5月目录 ·2024年4月目录 ·2024年3月目录 ·2024年2月目录 ·2024年1月目录 ·2023年12月目录 ·2023年11月目录