PDOException Object ( [message:protected] => SQLSTATE[HY000] [1040] Too many connections [string:Exception:private] => [code:protected] => 1040 [file:protected] => /data/website/DB.php [line:protected] => 14 [trace:Exception:private] => Array ( [0] => Array ( [file] => /data/website/DB.php [line] => 14 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=127.0.0.1;dbname=news [1] => wangyinews [2] => Irk818$#12 ) ) [1] => Array ( [file] => /data/website/index.php [line] => 89 [function] => __construct [class] => DB [type] => -> [args] => Array ( [0] => Array ( [dbname] => news [username] => wangyinews [password] => Irk818$#12 [port] => 3306 [host] => 127.0.0.1 ) ) ) ) [previous:Exception:private] => [errorInfo] => )
Fatal error: Uncaught Error: Call to a member function prepare() on null in /data/website/DB.php:46 Stack trace: #0 /data/website/index.php(91): DB->getNewsTitleByCategory('\xE7\x94\xB5\xE5\xBD\xB1', 1000) #1 {main} thrown in /data/website/DB.php on line 46
排列3近1000期开奖走势图