Statement No. 30: $pdo=new PDO(DSN,USER,PASS);
晨曦
晨曦 2019-04-23 22:22:52
0
0
1054


Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)' in C:\myphp_www\PHPTutorial\WWW\php\product\index.php:30 Stack trace: #0 C:\myphp_www\PHPTutorial\WWW\php\product\index.php(30): PDO->__construct('mysql:host=loca...', 'root', '') #1 {main} thrown in C:\myphp_www\PHPTutorial\WWW\php\product\index.php on line 30

请问这个问题怎么解决

晨曦
晨曦

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template