Illuminate \ Database \ QueryException (1045) SQLSTATE[HY000] [1045] Access denied for user 'mkkanars'@'localhost' (using password: YES) (SQL: select * from `ayarlar` where `ayarlar`.`id` = 1 limit 1) Application frames (2) All frames (42) 41 Illuminate\Database\QueryException …/vendor/laravel/framework/src/Illuminate/Database/Connection.php664 40 Illuminate\Foundation\Application Illuminate\Foundation\{closure} [internal]0 39 PDOException …/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php70 38 PDO __construct …/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php70 37 Illuminate\Database\Connectors\Connector createPdoConnection …/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php46 36 Illuminate\Database\Connectors\Connector createConnection …/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24 35 Illuminate\Database\Connectors\MySqlConnector connect …/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php182 34 Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure} …/vendor/laravel/framework/src/Illuminate/Database/Connection.php918 33 call_user_func …/vendor/laravel/framework/src/Illuminate/Database/Connection.php918 32 Illuminate\Database\Connection getPdo …/vendor/laravel/framework/src/Illuminate/Database/Connection.php943 31 Illuminate\Database\Connection getReadPdo …/vendor/laravel/framework/src/Illuminate/Database/Connection.php399 30 Illuminate\Database\Connection getPdoForSelect …/vendor/laravel/framework/src/Illuminate/Database/Connection.php325 29 Illuminate\Database\Connection Illuminate\Database\{closure} …/vendor/laravel/framework/src/Illuminate/Database/Connection.php657 28 Illuminate\Database\Connection runQueryCallback …/vendor/laravel/framework/src/Illuminate/Database/Connection.php624 27 Illuminate\Database\Connection run …/vendor/laravel/framework/src/Illuminate/Database/Connection.php333 26 Illuminate\Database\Connection select …/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2120 25 Illuminate\Database\Query\Builder runSelect …/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2108 24 Illuminate\Database\Query\Builder Illuminate\Database\Query\{closure} …/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2594 23 Illuminate\Database\Query\Builder onceWithColumns …/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2109 22 Illuminate\Database\Query\Builder get …/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php519 21 Illuminate\Database\Eloquent\Builder getModels …/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php503 20 Illuminate\Database\Eloquent\Builder get …/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php77 19 Illuminate\Database\Eloquent\Builder first …/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php329 18 Illuminate\Database\Eloquent\Builder find …/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php23 17 Illuminate\Database\Eloquent\Model forwardCallTo …/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php1614 16 Illuminate\Database\Eloquent\Model __call …/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php1626 15 Illuminate\Database\Eloquent\Model __callStatic …/app/Providers/AppServiceProvider.php28 14 App\Providers\AppServiceProvider boot …/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php32 13 call_user_func_array …/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php32 12 Illuminate\Container\BoundMethod Illuminate\Container\{closure} …/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php90 11 Illuminate\Container\BoundMethod callBoundMethod …/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php34 10 Illuminate\Container\BoundMethod call …/vendor/laravel/framework/src/Illuminate/Container/Container.php580 9 Illuminate\Container\Container call …/vendor/laravel/framework/src/Illuminate/Foundation/Application.php817 8 Illuminate\Foundation\Application bootProvider …/vendor/laravel/framework/src/Illuminate/Foundation/Application.php800 7 Illuminate\Foundation\Application Illuminate\Foundation\{closure} [internal]0 6 array_walk …/vendor/laravel/framework/src/Illuminate/Foundation/Application.php801 5 Illuminate\Foundation\Application boot …/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php17 4 Illuminate\Foundation\Bootstrap\BootProviders bootstrap …/vendor/laravel/framework/src/Illuminate/Foundation/Application.php210 3 Illuminate\Foundation\Application bootstrapWith …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php162 2 Illuminate\Foundation\Http\Kernel bootstrap …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php146 1 Illuminate\Foundation\Http\Kernel sendRequestThroughRouter …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116 0 Illuminate\Foundation\Http\Kernel handle …/public/index.php55 /var/www/kanarlargrup/kanarlargrup/vendor/laravel/framework/src/Illuminate/Database/Connection.php // To execute the statement, we'll simply call the callback, which will actually // run the SQL against the PDO connection. Then we can calculate the time it // took to execute and log the query SQL, bindings and time in our memory. try { $result = $callback($query, $bindings); } // If an exception occurs when attempting to run a query, we'll format the error // message to include the bindings with SQL, which will make this exception a // lot more helpful to the developer instead of just the database's errors. catch (Exception $e) { throw new QueryException( $query, $this->prepareBindings($bindings), $e ); } return $result; } /** * Log a query in the connection's query log. * * @param string $query * @param array $bindings * @param float|null $time * @return void */ public function logQuery($query, $bindings, $time = null) Arguments "SQLSTATE[HY000] [1045] Access denied for user 'mkkanars'@'localhost' (using password: YES) (SQL: select * from `ayarlar` where `ayarlar`.`id` = 1 limit 1)" Environment & details: GET Data empty POST Data empty Files empty Cookies empty Session empty Server/Request Data UNIQUE_ID "YabE5f@B2tfSk13@d-rVVQAAACI" HTTP_HOST "www.kanarlargrup.com" HTTP_CONNECTION "Keep-Alive" HTTP_ACCEPT_ENCODING "gzip" HTTP_CF_IPCOUNTRY "BE" HTTP_X_FORWARDED_FOR "2a02:2c40:100:b20b::1:2ad" HTTP_CF_RAY "6b6846398b71d488-BRU" HTTP_X_FORWARDED_PROTO "http" HTTP_CF_VISITOR "{"scheme":"http"}" HTTP_UPGRADE_INSECURE_REQUESTS "1" HTTP_USER_AGENT "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" HTTP_ACCEPT "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9" HTTP_ACCEPT_LANGUAGE "en-US,en;q=0.9" HTTP_CF_CONNECTING_IP "2a02:2c40:100:b20b::1:2ad" HTTP_CDN_LOOP "cloudflare" PATH "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" SERVER_SIGNATURE "" SERVER_SOFTWARE "Apache/2.4.6 (CentOS) PHP/7.2.34" SERVER_NAME "www.kanarlargrup.com" SERVER_ADDR "83.150.215.74" SERVER_PORT "80" REMOTE_ADDR "162.158.233.2" DOCUMENT_ROOT "/var/www/kanarlargrup/kanarlargrup/public" REQUEST_SCHEME "http" CONTEXT_PREFIX "" CONTEXT_DOCUMENT_ROOT "/var/www/kanarlargrup/kanarlargrup/public" SERVER_ADMIN "root@localhost" SCRIPT_FILENAME "/var/www/kanarlargrup/kanarlargrup/public/index.php" REMOTE_PORT "22448" GATEWAY_INTERFACE "CGI/1.1" SERVER_PROTOCOL "HTTP/1.1" REQUEST_METHOD "GET" QUERY_STRING "" REQUEST_URI "/" SCRIPT_NAME "/index.php" PHP_SELF "/index.php" REQUEST_TIME_FLOAT 1638319333.462 REQUEST_TIME 1638319333 Environment Variables empty Registered Handlers 0. Whoops\Handler\PrettyPageHandler