您好,欢迎访问一九零五行业门户网

xampp开启xampp Mysql数据库等的远程访问例子

下面一起来看个在学习环境下的xampp开启xampp mysql数据库等的远程访问例子 ,希望例子对各位同学会有所帮助。
在访问xampp所建立的mysql数据库时,若出现
new xampp security concept:
access to the requested directory is only available from the local network.
this setting can be configured in the file “httpd-xampp.conf”.
则一般可以按一下步骤进行解决~
1、关闭数据库所在服务器的防火墙
2、修改配置文件 httpd-xampp.conf
打开httpd-xampp.conf(/xampp/apache/conf/extra/httpd-xampp.conf)
用记事本打开该文件,将所有deny from all这一行注释掉,即改为 #deny from all
3、重启服务器
注意:我这里只是用 xampp 作为本地测试用,正式网站就不要那么随便设置了!
其它类似信息

推荐信息