Hello all,
I have a problem with symfony setup. The database setup work normally on local environment (Mac, Snow Leopard), but when I tried to move it to remote server (in dev mode) I always receive this error:
Warning: mysql_real_escape_string() [<a href='http://ch2.php.net/manual/en/function.mysql-real-escape-string.php'>function.mysql-real-escape-string.php</a>]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in some_path/UserController.php line 51
I check phpinfo() and this path /tmp/mysql.sock is correct. Database connection parameters are ok, I tested it with mysql_connect and mysql_select_db.
I read about deleting cache and I did it manually in app/cache folder and it didn't help.
What I'm doing wrong?
