CuteOneP icon indicating copy to clipboard operation
CuteOneP copied to clipboard

SQLSTATE[HY000] [2002] Connection timed out

Open time-todie opened this issue 4 years ago • 1 comments

Illuminate\Database\QueryException thrown with message "SQLSTATE[HY000] [2002] Connection timed out (SQL: select * from cuteone_configs)"

Stacktrace: #39 Illuminate\Database\QueryException in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 #38 Illuminate\Foundation\Application:Illuminate\Foundation{closure} in [internal]:0 #37 PDOException in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 #36 PDO:__construct in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 #35 Illuminate\Database\Connectors\Connector:createPdoConnection in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 #34 Illuminate\Database\Connectors\Connector:createConnection in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #33 Illuminate\Database\Connectors\MySqlConnector:connect in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:182 #32 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors{closure} in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:918 #31 call_user_func in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:918 #30 Illuminate\Database\Connection:getPdo in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:943 #29 Illuminate\Database\Connection:getReadPdo in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:399 #28 Illuminate\Database\Connection:getPdoForSelect in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:325 #27 Illuminate\Database\Connection:Illuminate\Database{closure} in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657 #26 Illuminate\Database\Connection:runQueryCallback in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 #25 Illuminate\Database\Connection:run in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333 #24 Illuminate\Database\Connection:select in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2124 #23 Illuminate\Database\Query\Builder:runSelect in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2112 #22 Illuminate\Database\Query\Builder:Illuminate\Database\Query{closure} in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2598 #21 Illuminate\Database\Query\Builder:onceWithColumns in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2113 #20 Illuminate\Database\Query\Builder:get in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:521 #19 Illuminate\Database\Eloquent\Builder:getModels in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:505 #18 Illuminate\Database\Eloquent\Builder:get in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23 #17 Illuminate\Database\Eloquent\Model:forwardCallTo in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1614 #16 Illuminate\Database\Eloquent\Model:__call in /home/caticu/domains/123.icu/public_html/pan/app/Models/Config.php:20 #15 App\Models\Config:webConfig in /home/caticu/domains/123.icu/public_html/pan/app/Providers/AppServiceProvider.php:29 #14 App\Providers\AppServiceProvider:boot in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32 #13 call_user_func_array in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32 #12 Illuminate\Container\BoundMethod:Illuminate\Container{closure} in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:90 #11 Illuminate\Container\BoundMethod:callBoundMethod in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:34 #10 Illuminate\Container\BoundMethod:call in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Container/Container.php:576 #9 Illuminate\Container\Container:call in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:827 #8 Illuminate\Foundation\Application:bootProvider in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:810 #7 Illuminate\Foundation\Application:Illuminate\Foundation{closure} in [internal]:0 #6 array_walk in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:811 #5 Illuminate\Foundation\Application:boot in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:210 #3 Illuminate\Foundation\Application:bootstrapWith in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/caticu/domains/123.icu/public_html/pan/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /home/caticu/domains/123.icu/public_html/pan/public/index.php:55

time-todie avatar Apr 12 '20 17:04 time-todie

I have this problem too!!! Anyone helps?

HenryHe613 avatar Jun 24 '20 11:06 HenryHe613