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

xampp的mysql允许远程访问

时间:2016-08-04 17:50:27      阅读:1050      评论:0      收藏:0      [点我收藏+]

标签:

Check you have enabled remote access to the MySQL server. Open the my.cnf file (probably found inside xampp/etc/), go to the [mysqld] section and add the following (using your own ip address instead of the example)

bind-address=192.168.1.100

当然还需要修改user那张表下面的host,改成%,比如要让root远程可访问,就用把root的host设置成100%

xampp的mysql允许远程访问

标签:

原文地址:http://www.cnblogs.com/yanghuaifa/p/5737522.html

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