0
即時得到的login_check行動以下錯誤:Symfony的防火牆不能訪問mysql數據庫
[2012-09-25 11:51:19] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". [] []
[2012-09-25 11:51:19] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\RouterListener::onEarlyKernelRequest". [] []
[2012-09-25 11:51:19] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". [] []
[2012-09-25 11:51:19] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest". [] []
[2012-09-25 11:51:19] security.INFO: Authentication request failed: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (13) [] []
[2012-09-25 11:51:19] security.DEBUG: Redirecting to /user/login [] []
[2012-09-25 11:51:19] event.DEBUG: Listener "Symfony\Component\Security\Http\Firewall::onKernelRequest" stopped propagation of the event "kernel.request". [] []
,因爲我已經創建/tmp/mysql.sock和/運行/ mysqld的之間的符號鏈接這是怪異/mysqld.sock,我可以創建數據庫,架構,負載裝置等...
發生了什麼事?謝謝
'/ tmp'通常對所有用戶開放。 – ceejayoz
杜,對。它的「臨時」文件。也許我需要的是更改符號鏈接上的文件權限。奇怪的是我能夠毫無問題地使用控制檯。 ¿有人可以驗證真正的問題是什麼? – JavierIEH