Illuminate\Database\QueryException: SQLSTATE[28000] [1045] Access denied for user 'pechpec2_pechpech_root'@'localhost' (using password: YES) (Connection: mysql, SQL: select `id` from `post_tb` where `key` LIKE Mwk59SPn limit 1) in file /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 822 #0 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(776): Illuminate\Database\Connection->runQueryCallback() #1 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\Database\Connection->run() #2 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2751): Illuminate\Database\Connection->select() #3 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2740): Illuminate\Database\Query\Builder->runSelect() #4 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3294): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #5 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2739): Illuminate\Database\Query\Builder->onceWithColumns() #6 /home/pechpec2/public_html/app/Models/DBRSModel.php(336): Illuminate\Database\Query\Builder->get() #7 /home/pechpec2/public_html/app/Http/Controllers/PechPech/Post/DBRS.php(193): App\Models\DBRSModel::FetchIdByKey() #8 /home/pechpec2/public_html/app/Http/Controllers/PechPech/Post/Middleware.php(30): App\Http\Controllers\PechPech\Post\DBRS::FetchIdByKey() #9 laravel-serializable-closure://function($postKey, $postTitle=null){ $request=\request(); $userKey=$request->query('userKey'); $r=\App\Http\Controllers\PechPech\Post\Middleware::ViewPost($postKey, $postTitle); if(!$r['result']) return \App\Http\Controllers\Template\View::View('PechPech.Post.Error'); #return ReturnErrorPage(HADLibModel\Http\ServerHTTPResponseMessage::MSG_NOT_FOUND); if($r['redirect']) return $r['redirect']; $response=false; $successVisitedToken=false; if(\App\Http\Controllers\PechPech\Member\Login\Login::IsLogin()) $successVisitedToken = \App\Http\Controllers\PechPech\VisitLog\VisitLog::PostVisit($postKey, $userKey); $isVisitShareLinkMode=$userKey?true:false; return \App\Http\Controllers\Template\View::ViewWithTemplate('pages.pageViewPost', [ 'dbrsPost' => $r['dbrsPost'], 'userKey'=>$userKey, 'isVisitShareLinkMode'=>$isVisitShareLinkMode, 'successVisitedToken'=>$successVisitedToken, ]); }(5): App\Http\Controllers\PechPech\Post\Middleware::ViewPost() #10 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php(40): App\Http\Controllers\PechPech\Route::{closure}() #11 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(237): Illuminate\Routing\CallableDispatcher->dispatch() #12 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(208): Illuminate\Routing\Route->runCallable() #13 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Routing\Route->run() #14 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}() #15 /home/pechpec2/public_html/app/Http/Middleware/CacheResponse.php(28): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #16 /home/pechpec2/public_html/app/HADLibModel/Cache.php(49): App\Http\Middleware\CacheResponse->App\Http\Middleware\{closure}() #17 /home/pechpec2/public_html/app/Http/Middleware/CacheResponse.php(27): App\HADLibModel\Cache::GetWithValueGenerator() #18 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\Http\Middleware\CacheResponse->handle() #19 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #20 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle() #21 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #22 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle() #23 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #24 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle() #25 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #26 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest() #27 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle() #28 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #29 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() #30 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #31 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle() #32 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #33 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Pipeline\Pipeline->then() #34 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\Routing\Router->runRouteWithinStack() #35 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\Routing\Router->runRoute() #36 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\Routing\Router->dispatchToRoute() #37 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch() #38 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() #39 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #40 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest() #41 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle() #42 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #43 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #44 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() #45 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #46 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #47 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle() #48 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #49 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() #50 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #51 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() #52 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #53 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle() #54 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #55 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle() #56 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #57 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then() #58 /home/pechpec2/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() #59 /home/pechpec2/public_html/public/index.php(78): Illuminate\Foundation\Http\Kernel->handle() #60 {main}