/var/www/unicam/base/init.class.php : 6
^ PDOException {#45 #message: "SQLSTATE[HY000] [1040] Too many connections" #code: 1040 #file: "/var/www/unicam/base/base.class.php" #line: 26 +errorInfo: array:3 [ 0 => "HY000" 1 => 1040 2 => "Too many connections" ] : { { Conexao->__construct() … ›$opcoes = array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES UTF8');
›$this->conexao = new PDO("mysql:host=" .$this->host . ";port=25060;dbname=" .$this->database . ";", $this->user, $this->pass, $opcoes);
› } { Init->__construct() … › ›parent::__construct();
› } { include … › ›$db = new Init();
›$conexao = $db->conectar();
} { ›include ("".CLASS_PATH."/php/uploads.php");
›include ("".CONF_PATH."/conf.php");
›include ("".CLASS_PATH."/php/email.class.php");
: { "/var/www/unicam/conf/conf.php" } } } }