object(PDOException)#13 (8) {
["message":protected]=>
string(94) "SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(2002)
["file":protected]=>
string(64) "/home/wwwroot/www.iguoxue.top/framework/Db/Driver/CPDODriver.php"
["line":protected]=>
int(32)
["trace":"Exception":private]=>
array(12) {
[0]=>
array(5) {
["file"]=>
string(64) "/home/wwwroot/www.iguoxue.top/framework/Db/Driver/CPDODriver.php"
["line"]=>
int(32)
["function"]=>
string(11) "__construct"
["class"]=>
string(3) "PDO"
["type"]=>
string(2) "->"
}
[1]=>
array(5) {
["file"]=>
string(53) "/home/wwwroot/www.iguoxue.top/framework/Db/CMysql.php"
["line"]=>
int(317)
["function"]=>
string(7) "connect"
["class"]=>
string(10) "CPDODriver"
["type"]=>
string(2) "->"
}
[2]=>
array(5) {
["file"]=>
string(53) "/home/wwwroot/www.iguoxue.top/framework/Db/CMysql.php"
["line"]=>
int(71)
["function"]=>
string(12) "_connectToDB"
["class"]=>
string(6) "CMysql"
["type"]=>
string(2) "->"
}
[3]=>
array(5) {
["file"]=>
string(56) "/home/wwwroot/www.iguoxue.top/framework/Db/CMsHelper.php"
["line"]=>
int(35)
["function"]=>
string(11) "__construct"
["class"]=>
string(6) "CMysql"
["type"]=>
string(2) "->"
}
[4]=>
array(5) {
["file"]=>
string(50) "/home/wwwroot/www.iguoxue.top/framework/Db/CDb.php"
["line"]=>
int(56)
["function"]=>
string(11) "__construct"
["class"]=>
string(9) "CMsHelper"
["type"]=>
string(2) "->"
}
[5]=>
array(5) {
["file"]=>
string(48) "/home/wwwroot/www.iguoxue.top/framework/init.php"
["line"]=>
int(313)
["function"]=>
string(5) "getDb"
["class"]=>
string(3) "CDb"
["type"]=>
string(2) "::"
}
[6]=>
array(5) {
["file"]=>
string(56) "/home/wwwroot/www.iguoxue.top/article/Model/Igx/Book.php"
["line"]=>
int(30)
["function"]=>
string(2) "DB"
["class"]=>
string(1) "F"
["type"]=>
string(2) "::"
}
[7]=>
array(5) {
["file"]=>
string(50) "/home/wwwroot/www.iguoxue.top/article/Dal/Book.php"
["line"]=>
int(117)
["function"]=>
string(16) "getChapterDetail"
["class"]=>
string(14) "Model_Igx_Book"
["type"]=>
string(2) "::"
}
[8]=>
array(5) {
["file"]=>
string(50) "/home/wwwroot/www.iguoxue.top/article/Dal/Book.php"
["line"]=>
int(36)
["function"]=>
string(13) "getDetailInDb"
["class"]=>
string(8) "Dal_Book"
["type"]=>
string(2) "->"
}
[9]=>
array(5) {
["file"]=>
string(60) "/home/wwwroot/www.iguoxue.top/article/Controller/Default.php"
["line"]=>
int(296)
["function"]=>
string(16) "getChapterDetail"
["class"]=>
string(8) "Dal_Book"
["type"]=>
string(2) "->"
}
[10]=>
array(5) {
["file"]=>
string(48) "/home/wwwroot/www.iguoxue.top/framework/init.php"
["line"]=>
int(395)
["function"]=>
string(15) "doChapterDetail"
["class"]=>
string(18) "Controller_Default"
["type"]=>
string(2) "->"
}
[11]=>
array(5) {
["file"]=>
string(39) "/home/wwwroot/www.iguoxue.top/index.php"
["line"]=>
int(50)
["function"]=>
string(3) "run"
["class"]=>
string(5) "CBase"
["type"]=>
string(2) "::"
}
}
["previous":"Exception":private]=>
object(PDOException)#12 (9) {
["message":protected]=>
string(91) "PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(64) "/home/wwwroot/www.iguoxue.top/framework/Db/Driver/CPDODriver.php"
["line":protected]=>
int(32)
["trace":"Exception":private]=>
array(12) {
[0]=>
array(5) {
["file"]=>
string(64) "/home/wwwroot/www.iguoxue.top/framework/Db/Driver/CPDODriver.php"
["line"]=>
int(32)
["function"]=>
string(11) "__construct"
["class"]=>
string(3) "PDO"
["type"]=>
string(2) "->"
}
[1]=>
array(5) {
["file"]=>
string(53) "/home/wwwroot/www.iguoxue.top/framework/Db/CMysql.php"
["line"]=>
int(317)
["function"]=>
string(7) "connect"
["class"]=>
string(10) "CPDODriver"
["type"]=>
string(2) "->"
}
[2]=>
array(5) {
["file"]=>
string(53) "/home/wwwroot/www.iguoxue.top/framework/Db/CMysql.php"
["line"]=>
int(71)
["function"]=>
string(12) "_connectToDB"
["class"]=>
string(6) "CMysql"
["type"]=>
string(2) "->"
}
[3]=>
array(5) {
["file"]=>
string(56) "/home/wwwroot/www.iguoxue.top/framework/Db/CMsHelper.php"
["line"]=>
int(35)
["function"]=>
string(11) "__construct"
["class"]=>
string(6) "CMysql"
["type"]=>
string(2) "->"
}
[4]=>
array(5) {
["file"]=>
string(50) "/home/wwwroot/www.iguoxue.top/framework/Db/CDb.php"
["line"]=>
int(56)
["function"]=>
string(11) "__construct"
["class"]=>
string(9) "CMsHelper"
["type"]=>
string(2) "->"
}
[5]=>
array(5) {
["file"]=>
string(48) "/home/wwwroot/www.iguoxue.top/framework/init.php"
["line"]=>
int(313)
["function"]=>
string(5) "getDb"
["class"]=>
string(3) "CDb"
["type"]=>
string(2) "::"
}
[6]=>
array(5) {
["file"]=>
string(56) "/home/wwwroot/www.iguoxue.top/article/Model/Igx/Book.php"
["line"]=>
int(30)
["function"]=>
string(2) "DB"
["class"]=>
string(1) "F"
["type"]=>
string(2) "::"
}
[7]=>
array(5) {
["file"]=>
string(50) "/home/wwwroot/www.iguoxue.top/article/Dal/Book.php"
["line"]=>
int(117)
["function"]=>
string(16) "getChapterDetail"
["class"]=>
string(14) "Model_Igx_Book"
["type"]=>
string(2) "::"
}
[8]=>
array(5) {
["file"]=>
string(50) "/home/wwwroot/www.iguoxue.top/article/Dal/Book.php"
["line"]=>
int(36)
["function"]=>
string(13) "getDetailInDb"
["class"]=>
string(8) "Dal_Book"
["type"]=>
string(2) "->"
}
[9]=>
array(5) {
["file"]=>
string(60) "/home/wwwroot/www.iguoxue.top/article/Controller/Default.php"
["line"]=>
int(296)
["function"]=>
string(16) "getChapterDetail"
["class"]=>
string(8) "Dal_Book"
["type"]=>
string(2) "->"
}
[10]=>
array(5) {
["file"]=>
string(48) "/home/wwwroot/www.iguoxue.top/framework/init.php"
["line"]=>
int(395)
["function"]=>
string(15) "doChapterDetail"
["class"]=>
string(18) "Controller_Default"
["type"]=>
string(2) "->"
}
[11]=>
array(5) {
["file"]=>
string(39) "/home/wwwroot/www.iguoxue.top/index.php"
["line"]=>
int(50)
["function"]=>
string(3) "run"
["class"]=>
string(5) "CBase"
["type"]=>
string(2) "::"
}
}
["previous":"Exception":private]=>
NULL
["errorInfo"]=>
NULL
["severity"]=>
int(2)
}
["errorInfo"]=>
array(3) {
[0]=>
string(5) "HY000"
[1]=>
int(2002)
[2]=>
string(71) "php_network_getaddresses: getaddrinfo failed: Name or service not known"
}
}
db connect error rm-2zep17eh7y960hak22o.mysql.rds.aliyuncs.com