5 3.2为什么不能自动创建数据库,难道必须用指定的数据库名吗?或者谁有数据库备份给我份吧,万分感谢

  1. SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xdm294599373_db.ask_settings' doesn't exist (SQL: select * from `ask_settings` where (`name` = website_name) limit 1)

  2. in Connection.php line 662
  3. at Connection->runQueryCallback('select * from `ask_settings` where (`name` = ?) limit 1', array('website_name'), object(Closure)) inConnection.php line 618
  4. at Connection->run('select * from `ask_settings` where (`name` = ?) limit 1', array('website_name'), object(Closure)) in Connection.php line 324
  5. at Connection->select('select * from `ask_settings` where (`name` = ?) limit 1', array('website_name'), true) in Builder.php line 1431
  6. at Builder->runSelect() in Builder.php line 1408
  7. at Builder->get(array('*')) in Builder.php line 477
  8. at Builder->getModels(array('*')) in Builder.php line 234
  9. at Builder->get(array('*')) in Builder.php line 206
  10. at Builder->first() in Builder.php line 156
  11. at Builder->firstOrNew(array('name' => 'website_name')) in Builder.php line 191
  12. at Builder->updateOrCreate(array('name' => 'website_name'), array('value' => 'Tipask问答网'))
  13. at call_user_func_array(array(object(Builder), 'updateOrCreate'), array(array('name' => 'website_name'), array('value' => 'Tipask问答网'))) inModel.php line 3444
  14. at Model->__call('updateOrCreate', array(array('name' => 'website_name'), array('value' => 'Tipask问答网')))
  15. at Setting->updateOrCreate(array('name' => 'website_name'), array('value' => 'Tipask问答网'))
  16. at call_user_func_array(array(object(Setting), 'updateOrCreate'), array(array('name' => 'website_name'), array('value' => 'Tipask问答网'))) inModel.php line 3458
  17. at Model::__callStatic('updateOrCreate', array(array('name' => 'website_name'), array('value' => 'Tipask问答网'))) in Setting.php line 36
  18. at Setting::updateOrCreate(array('name' => 'website_name'), array('value' => 'Tipask问答网')) in Setting.php line 36
  19. at Setting::set('website_name', 'Tipask问答网') in InstallerController.php line 136
  20. at InstallerController->website(object(Request), object(Registrar))
  21. at call_user_func_array(array(object(InstallerController), 'website'), array(object(Request), object(Registrar))) in Controller.php line 256
  22. at Controller->callAction('website', array(object(Request), object(Registrar))) in ControllerDispatcher.php line 164
  23. at ControllerDispatcher->call(object(InstallerController), object(Route), 'website') in ControllerDispatcher.php line 112
  24. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  27. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  28. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
  29. at ControllerDispatcher->callWithinStack(object(InstallerController), object(Route), object(Request), 'website') in ControllerDispatcher.php line 69
  30. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Installer\InstallerController', 'website') in Route.php line 203
  31. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  32. at Route->run(object(Request)) in Router.php line 708
  33. at Router->Illuminate\Routing\{closure}(object(Request))
  34. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in InstallerCheck.php line 21
  36. at InstallerCheck->handle(object(Request), object(Closure))
  37. at call_user_func_array(array(object(InstallerCheck), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  39. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  40. at Pipeline->then(object(Closure)) in Router.php line 710
  41. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 675
  42. at Router->dispatchToRoute(object(Request)) in Router.php line 635
  43. at Router->dispatch(object(Request)) in Kernel.php line 236
  44. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  45. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  46. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  47. at VerifyCsrfToken->handle(object(Request), object(Closure))
  48. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  49. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  50. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  51. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  52. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  53. at StartSession->handle(object(Request), object(Closure))
  54. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  55. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  56. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  57. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  58. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  59. at EncryptCookies->handle(object(Request), object(Closure))
  60. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  61. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  62. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  63. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  64. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  65. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  66. at Pipeline->then(object(Closure)) in Kernel.php line 122
  67. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  68. at Kernel->handle(object(Request)) in index.php line 54
请先 登录 后评论

最佳答案 2017-08-18 10:00

是的,为了安全起见。需要自己想创建数据库以及该数据库的账号,然后进行安装。

程序没有开放创建数据库的权限。

请先 登录 后评论

其它 0 个回答

  • 1 关注
  • 0 收藏,4597 浏览
  • xxxxxx 提出于 2017-08-10 10:58