Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/doverukc/private/v3/functions/database_sessions.php on line 38

Fatal error: Uncaught exception 'Exception' with message 'Could not connect to the database!' in /home/doverukc/private/v3/functions/database_sessions.php:41 Stack trace: #0 /home/doverukc/private/v3/functions/database_sessions.php(105): MySQLiSession->__construct() #1 /home/doverukc/private/v3/pagesetup1.php(16): include_once('/home/doverukc/...') #2 /home/doverukc/public_html/channel-swimming/swim-list.php(7): include('/home/doverukc/...') #3 {main} thrown in /home/doverukc/private/v3/functions/database_sessions.php on line 41