码迷,mamicode.com
首页 > 数据库 > 详细

Windows connect to mysql failed: can't get hostname for your address

时间:2015-03-20 14:13:52      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:

My mysql is on Linux platform. When I used my laptop connect to mysql, I got error message like "can‘t get hostname for your address".

Resolution:

Modifed file /etc/mysql/my.cnf and added message as below:

 

[mysqld]

skip-name-resolve

Windows connect to mysql failed: can't get hostname for your address

标签:

原文地址:http://www.cnblogs.com/panderen/p/4353394.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!