Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /opt/propel_2.0.beta/src/Propel/Runtime/Connection/PdoConnection.php:83
Stack trace:
#0 /opt/propel_2.0.beta/src/Propel/Runtime/Connection/PdoConnection.php(83): PDO->__construct()
#1 /opt/propel_2.0.beta/src/Propel/Runtime/Adapter/Pdo/PdoAdapter.php(79): Propel\Runtime\Connection\PdoConnection->__construct()
#2 /opt/propel_2.0.beta/src/Propel/Runtime/Connection/ConnectionFactory.php(55): Propel\Runtime\Adapter\Pdo\PdoAdapter->getConnection()
#3 /opt/propel_2.0.beta/src/Propel/Runtime/Connection/ConnectionManagerSingle.php(104): Propel\Runtime\Connection\ConnectionFactory::create()
#4 /opt/propel_2.0.beta/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php(430): Propel\Runtime\Connection\ConnectionManagerSingle->getWriteConnection()
#5 /opt/propel_2.0.beta/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php(414): Propel\Runtime\ServiceContainer\StandardServiceContainer->getWriteConnection()
#6 /opt/propel_2.0.beta/src/Propel/Runtime/Propel.php(256): Propel\Runtime\ServiceContainer\StandardServiceContainer->getConnection()
#7 /home/gemme/public_html/inc/init.php(19): Propel\Runtime\Propel::getConnection()
#8 /home/gemme/public_html/index.php(7): include_once('/home/gemme/pub...')
#9 {main}
Next Propel\Runtime\Adapter\Exception\AdapterException: Unable to open PDO connection in /opt/propel_2.0.beta/src/Propel/Runtime/Adapter/Pdo/PdoAdapter.php:82
Stack trace:
#0 /opt/propel_2.0.beta/src/Propel/Runtime/Connection/ConnectionFactory.php(55): Propel\Runtime\Adapter\Pdo\PdoAdapter->getConnection()
#1 /opt/propel_2.0.beta/src/Propel/Runtime/Connection/ConnectionManagerSingle.php(104): Propel\Runtime\Connection\ConnectionFactory::create()
#2 /opt/propel_2.0.beta/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php(430): Propel\Runtime\Connection\ConnectionManagerSingle->getWriteConnection()
#3 /opt/propel_2.0.beta/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php(414): Propel\Runtime\ServiceContainer\StandardServiceContainer->getWriteConnection()
#4 /opt/propel_2.0.beta/src/Propel/Runtime/Propel.php(256): Propel\Runtime\ServiceContainer\StandardServiceContainer->getConnection()
#5 /home/gemme/public_html/inc/init.php(19): Propel\Runtime\Propel::getConnection()
#6 /home/gemme/public_html/index.php(7): include_once('/home/gemme/pub...')
#7 {main}
Next Propel\Runtime\Connection\Exception\ConnectionException: Unable to open connection in /opt/propel_2.0.beta/src/Propel/Runtime/Connection/ConnectionFactory.php:57
Stack trace:
#0 /opt/propel_2.0.beta/src/Propel/Runtime/Connection/ConnectionManagerSingle.php(104): Propel\Runtime\Connection\ConnectionFactory::create()
#1 /opt/propel_2.0.beta/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php(430): Propel\Runtime\Connection\ConnectionManagerSingle->getWriteConnection()
#2 /opt/propel_2.0.beta/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php(414): Propel\Runtime\ServiceContainer\StandardServiceContainer->getWriteConnection()
#3 /opt/propel_2.0.beta/src/Propel/Runtime/Propel.php(256): Propel\Runtime\ServiceContainer\StandardServiceContainer->getConnection()
#4 /home/gemme/public_html/inc/init.php(19): Propel\Runtime\Propel::getConnection()
#5 /home/gemme/public_html/index.php(7): include_once('/home/gemme/pub...')
#6 {main}
thrown in /opt/propel_2.0.beta/src/Propel/Runtime/Connection/ConnectionFactory.php on line 57