PDOException Object ( [message:protected] => SQLSTATE[08004] [1040] Too many connections [string:Exception:private] => [code:protected] => 1040 [file:protected] => /var/www/sp12/data/www/demo4.sp12.ru/lib/class.mysql.pdo.php [line:protected] => 59 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/sp12/data/www/demo4.sp12.ru/lib/class.mysql.pdo.php [line] => 59 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=localhost;dbname=sp12_demo4;charset=utf8 [1] => sp12 [2] => 7D7v9C0j [3] => Array ( [1002] => SET NAMES utf8 ) ) ) [1] => Array ( [file] => /var/www/sp12/data/www/demo4.sp12.ru/index.php [line] => 61 [function] => __construct [class] => DB_Engine [type] => -> [args] => Array ( [0] => mysql [1] => localhost [2] => sp12 [3] => 7D7v9C0j [4] => sp12_demo4 ) ) ) [previous:Exception:private] => [errorInfo] => )