社区版3.2安装到最后一步出现错误,对错误的描述一下子跳出了68行

错误提示如下。请教高手,谁能看懂是什么意思,该如何解决呢?
PDOException in Connector.php line 55:SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

  1. in Connector.php line 55
  1. at PDO->__construct('mysql:host=localhost;port=3306;dbname=tipaskx', 'root', '', array('0', '2', '0', false, '0')) in Connector.php line 55
  1. at Connector->createConnection('mysql:host=localhost;port=3306;dbname=tipaskx', array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'tipaskx', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'ask_', 'strict' => false, 'name' => 'mysql'), array('0', '2', '0', false, '0')) in MySqlConnector.php line 22
  1. at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'tipaskx', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'ask_', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 60
  1. at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'tipaskx', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'ask_', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 49
  1. at ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'tipaskx', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'ask_', 'strict' => false), 'mysql') in DatabaseManager.php line 175
  1. at DatabaseManager->makeConnection('mysql') in DatabaseManager.php line 67
  1. at DatabaseManager->connection(null) in Model.php line 3224
  1. at Model::resolveConnection(null) in Model.php line 3190
  1. at Model->getConnection() in Model.php line 1870
  1. at Model->newBaseQueryBuilder() in Model.php line 1813
  1. at Model->newQueryWithoutScopes() in Model.php line 1787
  1. at Model->newQuery() in Model.php line 3442
  1. at Model->__call('updateOrCreate', array(array('name' => 'website_name'), array('value' => '小鱼儿答疑网-中小学在线学习社区')))
  1. at Setting->updateOrCreate(array('name' => 'website_name'), array('value' => '小鱼儿答疑网-中小学在线学习社区'))
  1. at call_user_func_array(array(object(Setting), 'updateOrCreate'), array(array('name' => 'website_name'), array('value' => '小鱼儿答疑网-中小学在线学习社区'))) in Model.php line 3458
  1. at Model::__callStatic('updateOrCreate', array(array('name' => 'website_name'), array('value' => '小鱼儿答疑网-中小学在线学习社区'))) in Setting.php line 36
  1. at Setting::updateOrCreate(array('name' => 'website_name'), array('value' => '小鱼儿答疑网-中小学在线学习社区')) in Setting.php line 36
  1. at Setting::set('website_name', '小鱼儿答疑网-中小学在线学习社区') in InstallerController.php line 136
  1. at InstallerController->website(object(Request), object(Registrar))
  1. at call_user_func_array(array(object(InstallerController), 'website'), array(object(Request), object(Registrar))) in Controller.php line 256
  1. at Controller->callAction('website', array(object(Request), object(Registrar))) in ControllerDispatcher.php line 164
  1. at ControllerDispatcher->call(object(InstallerController), object(Route), 'website') in ControllerDispatcher.php line 112
  1. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  1. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  1. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  1. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
  1. at ControllerDispatcher->callWithinStack(object(InstallerController), object(Route), object(Request), 'website') in ControllerDispatcher.php line 69
  1. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Installer\InstallerController', 'website') in Route.php line 203
  1. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  1. at Route->run(object(Request)) in Router.php line 708
  1. at Router->Illuminate\Routing\{closure}(object(Request))
  1. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in InstallerCheck.php line 21
  1. at InstallerCheck->handle(object(Request), object(Closure))
  1. at call_user_func_array(array(object(InstallerCheck), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  1. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  1. at Pipeline->then(object(Closure)) in Router.php line 710
  1. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 675
  1. at Router->dispatchToRoute(object(Request)) in Router.php line 635
  1. at Router->dispatch(object(Request)) in Kernel.php line 236
  1. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  1. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  1. at VerifyCsrfToken->handle(object(Request), object(Closure))
  1. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  1. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  1. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  1. at StartSession->handle(object(Request), object(Closure))
  1. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  1. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  1. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  1. at EncryptCookies->handle(object(Request), object(Closure))
  1. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  1. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  1. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  1. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  1. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  1. at Pipeline->then(object(Closure)) in Kernel.php line 122
  1. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  1. at Kernel->handle(object(Request)) in index.php line 54
请先 登录 后评论

最佳答案 1天前

数据库用户名或密码错误,你再确认一下

请先 登录 后评论

其它 0 个回答

  • 1 关注
  • 0 收藏,139 浏览
  • 不亦说乎 提出于 2018-01-08 13:20