host is not allowed to connec
时间: 2023-08-24 13:11:22 浏览: 102
Host 'localhost' Not Allowed To Connect To Server
引用\[1\]: '不允许主机连接到此MySQL服务器' 是指在远程连接MySQL服务器时出现的错误,表示本地账号可以登录,但是远程登录不被允许。\[1\]引用\[2\]: 解决这个问题的步骤如下:首先打开cmd,进入到php的bin文件(如果系统环境变量已经配置好,可以忽略这一步),然后按照以下命令顺序执行。\[1\]引用\[3\]: 这个问题可能出现在远程服务器安装了MySQL服务并且启动成功,本地可以自由访问和更新等操作,服务器已经开通了远程访问服务器3306端口的权限,但是在远程通过工具链接MySQL数据库时却报错"Host 'xxx.xxx.xxx.xxx' (本地ip) is not allowed to connect to this MySQL server"。\[2\]解决这个问题的方法是\[3\]:
#### 引用[.reference_title]
- *1* [连接MySQL出现Host is not allowed to connect to this MySQL server 解决方法](https://blog.csdn.net/arlene12345/article/details/122933316)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [本地无法连接远程服务器(Host is not allowed to connect to this MySQL server)解决办法](https://blog.csdn.net/Youning_Yim/article/details/109351077)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Host is not allowed to connect to this MySQL server解决方法](https://blog.csdn.net/qq_25073223/article/details/125221448)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文