Warning: PDO::__construct() [pdo.--construct]: php_network_getaddresses: getaddrinfo failed: 不知道这样的主机。 in E:\web\m.hteacher.net\article\article.php on line 7

Warning: PDO::__construct() [pdo.--construct]: [2002] php_network_getaddresses: getaddrinfo failed: 不知道这样的主机。 (trying to connect via tcp://rm-2ze0xyj6nfvpy914q.mysql.rds.aliyuncs.com:3309) in E:\web\m.hteacher.net\article\article.php on line 7

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: 不知道这样的主机。 ' in E:\web\m.hteacher.net\article\article.php:7 Stack trace: #0 E:\web\m.hteacher.net\article\article.php(7): PDO->__construct('mysql:dbname=te...', 'u_teacher', 'cY_3bxcqhrm') #1 {main} thrown in E:\web\m.hteacher.net\article\article.php on line 7