PHP + MySql + Zend Framework
I have a web running on a shared hosting account which I have, running without any problem. Since last week I'm trying to run the same app on a openshift php cartridge.
If I try to access mysql database from my app, I get this error: Message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
You can see this error here http://chinchulino-melbi.rhcloud.com/test
I'm accessing database with the enviroment variable.
I'm able to connect to mysql from ssh also from mysql workbench.
I have to say that this app is working well in other enviroments so I don't think it's problem of my code.