Home >Database >Mysql Tutorial >Mysql 5.5 无法远程登陆:Can't get hostname for your address_MySQL

Mysql 5.5 无法远程登陆:Can't get hostname for your address_MySQL

WBOY
WBOYOriginal
2016-06-01 13:45:28846browse

bitsCN.com

解决方式如下:


错误信息:Can't get hostname for your address
修改配置文件
在windows下面,文件时my.ini,在Linux下面是my.cnf
解决方案是在
[mysqld]
skip-name-resolve #加上这一个属性
本文来源于独自等待博客

bitsCN.com
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