Excepción
object(PDOException)#4 (8) { ["message":protected]=> string(85) "SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(1045) ["file":protected]=> string(68) "/home/evalmixc/public_html/hrms/smart-360/clases_360/conexionERP.php" ["line":protected]=> int(51) ["trace":"Exception":private]=> array(4) { [0]=> array(6) { ["file"]=> string(68) "/home/evalmixc/public_html/hrms/smart-360/clases_360/conexionERP.php" ["line"]=> int(51) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(52) "mysql:host=localhost;dbname=evalmixc_base_generales2" [1]=> string(4) "root" [2]=> string(0) "" [3]=> array(1) { [1002]=> string(14) "SET NAMES utf8" } } } [1]=> array(6) { ["file"]=> string(72) "/home/evalmixc/public_html/hrms/smart-360/clases_360/validar_sistema.php" ["line"]=> int(37) ["function"]=> string(11) "__construct" ["class"]=> string(23) "conectar_base_generales" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(72) "/home/evalmixc/public_html/hrms/smart-360/clases_360/validar_sistema.php" ["line"]=> int(399) ["function"]=> string(27) "obtener_empresas_especiales" ["class"]=> string(19) "validar_sistema_360" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [3]=> array(6) { ["file"]=> string(51) "/home/evalmixc/public_html/hrms/smart-360/login.php" ["line"]=> int(20) ["function"]=> string(21) "obtener_datos_sistema" ["class"]=> string(19) "validar_sistema_360" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(2) "en" [1]=> bool(true) } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "HY000" [1]=> int(1045) [2]=> string(62) "Access denied for user 'root'@'localhost' (using password: NO)" } }