Fatal error: Uncaught mysqli_sql_exception: Connection refused in /www/wwwroot/book/helpers/function.php:10
Stack trace:
#0 /www/wwwroot/book/helpers/function.php(10): mysqli_connect()
#1 /www/wwwroot/book/helpers/function.php(161): db()
#2 /www/wwwroot/book/helpers/function.php(707): execute_query()
#3 /www/wwwroot/book/app/controller/Chapter.php(19): tongji()
#4 /www/wwwroot/book/index.php(153): App\Controller\Chapter->index()
#5 {main}
thrown in /www/wwwroot/book/helpers/function.php on line 10