参考链接:https://blog.csdn.net/zhaoerduo/article/details/51076456
今天在研究easyswoole,在测试服务器上启动easyswoole后提示PHP Warning: mysqli::__construct(): (HY000/2002): No such file or directory...
解决方案:修改项目连接mysql的配置,将host选项由localhost改成127.0.0.1
参考链接:https://blog.csdn.net/zhaoerduo/article/details/51076456
今天在研究easyswoole,在测试服务器上启动easyswoole后提示PHP Warning: mysqli::__construct(): (HY000/2002): No such file or directory...
解决方案:修改项目连接mysql的配置,将host选项由localhost改成127.0.0.1