Home >Database >Mysql Tutorial >MySQL远程访问的两个问题_MySQL

MySQL远程访问的两个问题_MySQL

WBOY
WBOYOriginal
2016-06-01 13:02:08789browse

安装MySQL后,不能远程访问,进行如下配置即可

\

连接后,依然不能连接,报如下错误:

1042 - Can"t get hostname for your address

解决方法在my.ini里增加如下两行重启MySQL即可。
skip-name-resolve
lower_case_table_names=1

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn