我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

XAMPP中的MySQL不允许远程连接

After following some online tutorials, allowing wildcard (%) connections to the user, assuring that the port and firewall allow connections, and comparing the login info, I'm at a complete loss recving MySQL error 111.

The script I'm using to connect [PHP]

$connection = mysqli_connect('remotehost', 'user', 'pass') or die(mysqli_connect_error());
mysqli_select_db($connection, 'db');

I believe everything is in order, isn't it?

What should my next step be?

近期文章

  • 如何有效地加载模板中的页面
  • 在脚本文件中调用第二个函数
  • 使用XSD进行XML验证时,PHP无响应
  • CQRS + PHP:事件发生时在何处放置逻辑
  • 如何在helper中读取和写入会话 - Cakephp
  • PHP href在yii中不起作用
  • 在php中提前刷新内容以提高页面速度
  • 一个元组如何转换为列表
  • MStest 框架 如何在一个方法触发try/catch中的 catch
  • VS中打开项目属性页,选项区域一片空白
  • 使用border-radius制作弧边按钮触碰时一瞬间会有直角边显现解决办法
  • TimThumb无法裁剪图片,400错误
  • 移动端视频直播给web端
  • linux服务器启动项目报错Permission denied.
  • 在IE上,如何实现图片下载的功能
  • idea 打开ionic项目 html文件中的内容报红?
  • Doctrine 2 orm:schema-tool无法创建模式
  • Zend 2 Form请求发现未找到
  • 与Yii框架一起使用
  • Phalcon PHP:模型验证()函数?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华