參考鏈接: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
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。