Warning: PDO::__construct() [pdo.--construct]: [2002] 由于目标计算机积极拒绝,无法连接。 (trying to connect via tcp://localhost:3306) in D:\wwwroot\jukpc\wwwroot\connection\pdo_db.php on line 9

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] 由于目标计算机积极拒绝,无法连接。 ' in D:\wwwroot\jukpc\wwwroot\connection\pdo_db.php:9 Stack trace: #0 D:\wwwroot\jukpc\wwwroot\connection\pdo_db.php(9): PDO->__construct('mysql:host=loca...', 'jukpc', 'e4d6x3W7') #1 D:\wwwroot\jukpc\wwwroot\www\site_page\index.php(1): require_once('D:\wwwroot\jukp...') #2 {main} thrown in D:\wwwroot\jukpc\wwwroot\connection\pdo_db.php on line 9