Warning: mysql_connect() [function.mysql-connect]: Too many connections in /home/sloki/user/t13571/sites/lily-jean.com/www/classes/db/MySQL.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at /home/sloki/user/t13571/sites/lily-jean.com/www/classes/db/MySQL.php:51) in /home/sloki/user/t13571/sites/lily-jean.com/www/classes/exception/PrestaShopException.php on line 37

[PrestaShopDatabaseException]

Link to database cannot be established.
at line 52 in file classes/db/MySQL.php

47.         if (!defined('_PS_MYSQL_REAL_ESCAPE_STRING_')) {
48.             define('_PS_MYSQL_REAL_ESCAPE_STRING_', function_exists('mysql_real_escape_string'));
49.         }
50. 
51.         if (!$this->link = mysql_connect($this->server, $this->user, $this->password)) {
52.             throw new PrestaShopDatabaseException(Tools::displayError('Link to database cannot be established.'));
53.         }
54. 
55.         if (!$this->set_db($this->database)) {
56.             throw new PrestaShopDatabaseException(Tools::displayError('The database selection cannot be made.'));
57.         }