1130 - Host 'DESKTOP-V785BHE' is not allowed to connect to this MySQL server
时间: 2023-09-08 20:13:14 浏览: 99
MYSQL不能从远程连接的一个解决方法(s not allowed to connect to this MySQL server)
回答: 错误信息"1130 - Host 'DESKTOP-V785BHE' is not allowed to connect to this MySQL server"表示主机"DESKTOP-V785BHE"没有被允许连接到MySQL服务器。这通常是由于MySQL服务器的访问权限设置所导致的。为了解决这个问题,你可以尝试执行"flush privileges"命令来刷新MySQL的系统权限相关表,以确保新的设置生效。这个命令的作用是将当前用户和权限设置从MySQL库中提取到内存中,使其立即生效,而无需重启MySQL服务。这样,你就可以验证权限设置是否生效了。\[1\]
#### 引用[.reference_title]
- *1* [解决1130-Host‘ ‘is not allowed to connect to this MySQL server,实现远程连接本地数据库](https://blog.csdn.net/CoCo629vanilla/article/details/129008644)[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^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文