Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/octo/public_html/config.php on line 17

Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/octo/public_html/config.php on line 18

Warning: mysql_select_db(): A link to the server could not be established in /home/octo/public_html/config.php on line 18

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /home/octo/public_html/config.php:19 Stack trace: #0 /home/octo/public_html/config.php(19): PDO->__construct('mysql:host=loca...', 'octo_user2', '9smDNgGVLnuE') #1 /home/octo/public_html/prestart.php(23): require('/home/octo/publ...') #2 /home/octo/public_html/start.php(17): require('/home/octo/publ...') #3 /home/octo/public_html/index.php(4): require('/home/octo/publ...') #4 {main} thrown in /home/octo/public_html/config.php on line 19