Apache連接Mysql出現(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock

環境:(OS:rhel7.2, Django1.11.13,Apache2.4.34) 問題描述: 將django 部署到apche之後,在瀏覽器輸入url出現(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock 驗證: 1,首先,我驗證了一下,mysql是否是在運行;確認了mys
相關文章
相關標籤/搜索