SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from `faculty` where `department_id` in (46, 47, 48, 49, 50))

(2/2) QueryException

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from `faculty` where `department_id` in (46, 47, 48, 49, 50))

in Connection.php line 664
at Connection->runQueryCallback('select * from `faculty` where `department_id` in (?, ?, ?, ?, ?)', array(46, 47, 48, 49, 50), object(Closure))in Connection.php line 624
at Connection->run('select * from `faculty` where `department_id` in (?, ?, ?, ?, ?)', array(46, 47, 48, 49, 50), object(Closure))in Connection.php line 333
at Connection->select('select * from `faculty` where `department_id` in (?, ?, ?, ?, ?)', array(46, 47, 48, 49, 50), true)in Builder.php line 2130
at Builder->runSelect()in Builder.php line 2118
at Builder->Illuminate\Database\Query\{closure}()in Builder.php line 2604
at Builder->onceWithColumns(array('*'), object(Closure))in Builder.php line 2119
at Builder->get(array('*'))in Builder.php line 521
at Builder->getModels(array('*'))in Builder.php line 505
at Builder->get()in CollegesController.php line 88
at CollegesController->faculty('Arts')
at call_user_func_array(array(object(CollegesController), 'faculty'), array('Arts'))in Controller.php line 54
at Controller->callAction('faculty', array('Arts'))in ControllerDispatcher.php line 45
at ControllerDispatcher->dispatch(object(Route), object(CollegesController), 'faculty')in Route.php line 219
at Route->runController()in Route.php line 176
at Route->run()in Router.php line 680
at Router->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ForceSSL.php line 23
at ForceSSL->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in VerifyCsrfToken.php line 75
at VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in EncryptCookies.php line 66
at EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 104
at Pipeline->then(object(Closure))in Router.php line 682
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php line 657
at Router->runRoute(object(Request), object(Route))in Router.php line 623
at Router->dispatchToRoute(object(Request))in Router.php line 612
at Router->dispatch(object(Request))in Kernel.php line 176
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php line 62
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 104
at Pipeline->then(object(Closure))in Kernel.php line 151
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 53

(1/2) PDOException

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

in Connector.php line 70
at PDO->__construct('mysql:host=127.0.0.1;port=3306;dbname=formsuob_newenuob_en', 'root', '', array(0, 2, 0, false, false))in Connector.php line 70
at Connector->createPdoConnection('mysql:host=127.0.0.1;port=3306;dbname=formsuob_newenuob_en', 'root', '', array(0, 2, 0, false, false))in Connector.php line 46
at Connector->createConnection('mysql:host=127.0.0.1;port=3306;dbname=formsuob_newenuob_en', array('driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'formsuob_newenuob_en', 'username' => 'root', 'password' => '', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'name' => 'mysql2'), array(0, 2, 0, false, false))in MySqlConnector.php line 24
at MySqlConnector->connect(array('driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'formsuob_newenuob_en', 'username' => 'root', 'password' => '', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'name' => 'mysql2'))in ConnectionFactory.php line 182
at ConnectionFactory->Illuminate\Database\Connectors\{closure}()
at call_user_func(object(Closure))in Connection.php line 919
at Connection->getPdo()in Connection.php line 944
at Connection->getReadPdo()in Connection.php line 399
at Connection->getPdoForSelect(true)in Connection.php line 325
at Connection->Illuminate\Database\{closure}('select * from `faculty` where `department_id` in (?, ?, ?, ?, ?)', array(46, 47, 48, 49, 50))in Connection.php line 657
at Connection->runQueryCallback('select * from `faculty` where `department_id` in (?, ?, ?, ?, ?)', array(46, 47, 48, 49, 50), object(Closure))in Connection.php line 624
at Connection->run('select * from `faculty` where `department_id` in (?, ?, ?, ?, ?)', array(46, 47, 48, 49, 50), object(Closure))in Connection.php line 333
at Connection->select('select * from `faculty` where `department_id` in (?, ?, ?, ?, ?)', array(46, 47, 48, 49, 50), true)in Builder.php line 2130
at Builder->runSelect()in Builder.php line 2118
at Builder->Illuminate\Database\Query\{closure}()in Builder.php line 2604
at Builder->onceWithColumns(array('*'), object(Closure))in Builder.php line 2119
at Builder->get(array('*'))in Builder.php line 521
at Builder->getModels(array('*'))in Builder.php line 505
at Builder->get()in CollegesController.php line 88
at CollegesController->faculty('Arts')
at call_user_func_array(array(object(CollegesController), 'faculty'), array('Arts'))in Controller.php line 54
at Controller->callAction('faculty', array('Arts'))in ControllerDispatcher.php line 45
at ControllerDispatcher->dispatch(object(Route), object(CollegesController), 'faculty')in Route.php line 219
at Route->runController()in Route.php line 176
at Route->run()in Router.php line 680
at Router->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ForceSSL.php line 23
at ForceSSL->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in VerifyCsrfToken.php line 75
at VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in EncryptCookies.php line 66
at EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 104
at Pipeline->then(object(Closure))in Router.php line 682
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php line 657
at Router->runRoute(object(Request), object(Route))in Router.php line 623
at Router->dispatchToRoute(object(Request))in Router.php line 612
at Router->dispatch(object(Request))in Kernel.php line 176
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php line 62
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 104
at Pipeline->then(object(Closure))in Kernel.php line 151
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 53