Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) in /www/wwwroot/baiwen/bw_include/db.php:18
Stack trace:
#0 /www/wwwroot/baiwen/bw_include/db.php(18): PDO->__construct()
#1 /www/wwwroot/baiwen/bw_include/db.php(23): DB->__construct()
#2 /www/wwwroot/baiwen/bw_include/db.php(102): DB::getInstance()
#3 /www/wwwroot/baiwen/bw_front/repo.php(114): db()
#4 /www/wwwroot/baiwen/bw_front/dispatch.php(266): bw_repo_posts_count()
#5 /www/wwwroot/baiwen/index.php(7): require('...')
#6 {main}
thrown in /www/wwwroot/baiwen/bw_include/db.php on line 18