Exception message: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Error code: 2
-- Backtrace --
/var/www/html/ECBlog/class/database/adodb/drivers/adodb-mysql.inc.php(362): mysql_pconnect
/var/www/html/ECBlog/class/database/adodb/adodb.inc.php(468): adodb_mysql._pconnect
/var/www/html/ECBlog/class/database/db.class.php(41): adodb_mysql.pconnect
/var/www/html/ECBlog/class/config/configdbstorage.class.php(49): db.getdb
/var/www/html/ECBlog/class/config/config.class.php(103): configdbstorage.configdbstorage
/var/www/html/ECBlog/class/net/http/session/sessionmanager.class.php(109): config.getconfig
/var/www/html/ECBlog/class/net/http/session/sessionmanager.class.php(32): sessionmanager.setsessionsavepath
/var/www/html/ECBlog/index.php(33): sessionmanager.init

Exception message: Fatal error: could not connect to the database!
Error code: 0
-- Backtrace --
/var/www/html/ECBlog/class/database/db.class.php(42): throw
/var/www/html/ECBlog/class/config/configdbstorage.class.php(49): db.getdb
/var/www/html/ECBlog/class/config/config.class.php(103): configdbstorage.configdbstorage
/var/www/html/ECBlog/class/net/http/session/sessionmanager.class.php(109): config.getconfig
/var/www/html/ECBlog/class/net/http/session/sessionmanager.class.php(32): sessionmanager.setsessionsavepath
/var/www/html/ECBlog/index.php(33): sessionmanager.init