Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = xtuyuan and table_name = menus and table_type = 'BASE TABLE') in file /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671 #0 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php(745): Illuminate\Database\Connection->runQueryCallback('select * from i...', Array, Object(Closure)) #1 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php(725): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\Database\QueryException), 'select * from i...', Array, Object(Closure)) #2 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php(634): Illuminate\Database\Connection->handleQueryException(Object(Illuminate\Database\QueryException), 'select * from i...', Array, Object(Closure)) #3 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php(339): Illuminate\Database\Connection->run('select * from i...', Array, Object(Closure)) #4 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php(18): Illuminate\Database\Connection->select('select * from i...', Array) #5 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\Database\Schema\MySqlBuilder->hasTable('menus') #6 /home/wwwroot/distract/tyd-12.com/app/Providers/AppServiceProvider.php(36): Illuminate\Support\Facades\Facade::__callStatic('hasTable', Array) #7 [internal function]: App\Providers\AppServiceProvider->boot() #8 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): call_user_func_array(Array, Array) #9 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #10 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\Container\Util::unwrapIfClosure(Object(Closure)) #11 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(39): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure)) #12 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL) #13 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(867): Illuminate\Container\Container->call(Array) #14 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(850): Illuminate\Foundation\Application->bootProvider(Object(App\Providers\AppServiceProvider)) #15 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(App\Providers\AppServiceProvider), 28) #16 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(851): array_walk(Array, Object(Closure)) #17 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot() #18 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application)) #19 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Foundation\Application->bootstrapWith(Array) #20 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(135): Illuminate\Foundation\Http\Kernel->bootstrap() #21 /home/wwwroot/distract/tyd-12.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #22 /home/wwwroot/distract/tyd-12.com/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #23 {main}