xampp的mysql允许远程访问

时间:2016-08-04 17:47:43   收藏:0   阅读:315

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%

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!