Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in /www/wwwroot/47.86.170.29/app/Support/Database.php:30
Stack trace:
#0 /www/wwwroot/47.86.170.29/app/Support/Database.php(30): PDO->__construct()
#1 /www/wwwroot/47.86.170.29/app/Support/helpers.php(41): App\Support\Database::connection()
#2 /www/wwwroot/47.86.170.29/app/Support/helpers.php(46): db()
#3 /www/wwwroot/47.86.170.29/app/Support/helpers.php(372): schema_table_exists()
#4 /www/wwwroot/47.86.170.29/bootstrap.php(31): ensure_runtime_schema()
#5 /www/wwwroot/47.86.170.29/list.php(5): require('...')
#6 {main}
Next RuntimeException: 数据库连接失败:SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in /www/wwwroot/47.86.170.29/app/Support/Database.php:36
Stack trace:
#0 /www/wwwroot/47.86.170.29/app/Support/helpers.php(41): App\Support\Database::connection()
#1 /www/wwwroot/47.86.170.29/app/Support/helpers.php(46): db()
#2 /www/wwwroot/47.86.170.29/app/Support/helpers.php(372): schema_table_exists()
#3 /www/wwwroot/47.86.170.29/bootstrap.php(31): ensure_runtime_schema()
#4 /www/wwwroot/47.86.170.29/list.php(5): require('...')
#5 {main}
thrown in /www/wwwroot/47.86.170.29/app/Support/Database.php on line 36