Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in system/modules/core/library/Contao/Database/Mysql.php on line 47
#0 [internal function]: __error(2, 'mysql_connect()...', '/home/webalm_pr...', 47, Array)
#1 system/modules/core/library/Contao/Database/Mysql.php(47): mysql_connect('localhost:3306', 'webalm', 'hlyMd3Fy4')
#2 system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysql->connect()
#3 system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct(Array)
#4 [internal function]: Contao\Database::getInstance()
#5 system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#6 system/modules/core/library/Contao/User.php(158): Contao\System->import('Database')
#7 system/modules/core/classes/FrontendUser.php(62): Contao\User->__construct()
#8 system/modules/core/library/Contao/User.php(220): Contao\FrontendUser->__construct()
#9 [internal function]: Contao\User::getInstance()
#10 system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#11 system/modules/core/controllers/FrontendIndex.php(31): Contao\System->import('FrontendUser', 'User')
#12 index.php(19): Contao\FrontendIndex->__construct()
#13 {main}

Fatal error: Uncaught exception Exception with message Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) thrown in system/modules/core/library/Contao/Database/Mysql.php on line 52
#0 system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysql->connect()
#1 system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct(Array)
#2 [internal function]: Contao\Database::getInstance()
#3 system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#4 system/modules/core/library/Contao/User.php(158): Contao\System->import('Database')
#5 system/modules/core/classes/FrontendUser.php(62): Contao\User->__construct()
#6 system/modules/core/library/Contao/User.php(220): Contao\FrontendUser->__construct()
#7 [internal function]: Contao\User::getInstance()
#8 system/modules/core/library/Contao/System.php(140): call_user_func(Array)
#9 system/modules/core/controllers/FrontendIndex.php(31): Contao\System->import('FrontendUser', 'User')
#10 index.php(19): Contao\FrontendIndex->__construct()
#11 {main}