PHP + MySql + Zend Framework
You can still read and search them, but for help, please post a question on Stack Overflow.
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.