Fatal error: Uncaught exception 'Doctrine_Connection_Exception' with message 'PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /home/ontuts/web.ontuts.com/wp-content/uploads/tutoriales/doctrine-orm-php/lib/Doctrine/Connection.php:474
Stack trace:
#0 /home/ontuts/web.ontuts.com/wp-content/uploads/tutoriales/doctrine-orm-php/lib/Doctrine/Connection/Mysql.php(101): Doctrine_Connection->connect()
#1 /home/ontuts/web.ontuts.com/wp-content/uploads/tutoriales/doctrine-orm-php/lib/Doctrine/Connection.php(1037): Doctrine_Connection_Mysql->connect()
#2 /home/ontuts/web.ontuts.com/wp-content/uploads/tutoriales/doctrine-orm-php/lib/Doctrine/Connection/Mysql.php(126): Doctrine_Connection->exec('SET NAMES 'utf8...')
#3 /home/ontuts/web.ontuts.com/wp-content/uploads/tutoriales/doctrine-orm-php/index.php(6): Doctrine_Connection_Mysql->setCharset('utf8')
#4 {main}
thrown in /home/ontuts/web.ontuts.com/wp-content/uploads/tutoriales/doctrine-orm-php/lib/Doctrine/Connection.php on line 474