Tipask3.0安装到初始化配置出现数据库连接错误 proc_open(): CreateProcess failed, error code - 0"

安装到初始化配置报错数"据库连接出错:proc_open(): CreateProcess failed, error code - 0" 是什么原因啊?数据库密码没问题,tipaskx数据库也有建立,Mysql版本5.5 ,确认可用没问题,什么原因啊,大神能回复我不?

2016-07-05补充
attachments-2016-07-HOZKfI6c577b85b1a04fattachments-2016-07-CQYjR4K4577b878377d6大神情况错误详细情况:
数据库连接出错:exception 'ErrorException' with message 'proc_open(): CreateProcess failed, error code - 0' in C:\www\wenleme\vendor\symfony\console\Application.php:966 Stack trace: #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'proc_open(): Cr...', 'C:\\www\\wenleme\\...', 966, Array) #1 C:\www\wenleme\vendor\symfony\console\Application.php(966): proc_open('mode CON', Array, NULL, NULL, NULL, Array) #2 C:\www\wenleme\vendor\symfony\console\Application.php(746): Symfony\Component\Console\Application->getConsoleMode() #3 C:\www\wenleme\vendor\symfony\console\Style\SymfonyStyle.php(396): Symfony\Component\Console\Application->getTerminalDimensions() #4 C:\www\wenleme\vendor\symfony\console\Style\SymfonyStyle.php(52): Symfony\Component\Console\Style\SymfonyStyle->getTerminalWidth() #5 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Console\OutputStyle.php(29): Symfony\Component\Console\Style\SymfonyStyle->__construct(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput)) #6 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Console\Command.php(134): Illuminate\Console\OutputStyle->__construct(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput)) #7 C:\www\wenleme\vendor\symfony\console\Application.php(841): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput)) #8 C:\www\wenleme\vendor\symfony\console\Application.php(189): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Database\Console\Migrations\MigrateCommand), Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput)) #9 C:\www\wenleme\vendor\symfony\console\Application.php(120): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput)) #10 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Console\Application.php(64): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput)) #11 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(159): Illuminate\Console\Application->call('migrate', Array) #12 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(215): Illuminate\Foundation\Console\Kernel->call('migrate') #13 C:\www\wenleme\app\Http\Controllers\Installer\InstallerController.php(96): Illuminate\Support\Facades\Facade::__callStatic('call', Array) #14 C:\www\wenleme\app\Http\Controllers\Installer\InstallerController.php(96): Illuminate\Support\Facades\Artisan::call('migrate') #15 [internal function]: app\Http\Controllers\Installer\InstallerController->initDB() #16 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(256): call_user_func_array(Array, Array) #17 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(164): Illuminate\Routing\Controller->callAction('initDB', Array) #18 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(112): Illuminate\Routing\ControllerDispatcher->call(Object(app\Http\Controllers\Installer\InstallerController), Object(Illuminate\Routing\Route), 'initDB') #19 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) #20 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #21 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #22 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #23 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(114): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #24 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(69): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(app\Http\Controllers\Installer\InstallerController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'initDB') #25 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\Route.php(203): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\\Http\\Contro...', 'initDB') #26 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\Route.php(134): Illuminate\Routing\Route->runWithCustomDispatcher(Object(Illuminate\Http\Request)) #27 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\Router.php(708): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) #28 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) #29 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #30 C:\www\wenleme\app\Http\Middleware\InstallerCheck.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #31 [internal function]: App\Http\Middleware\InstallerCheck->handle(Object(Illuminate\Http\Request), Object(Closure)) #32 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(124): call_user_func_array(Array, Array) #33 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #34 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #35 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\Router.php(710): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #36 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\Router.php(675): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request)) #37 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Routing\Router.php(635): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #38 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(236): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #39 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request)) #40 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #41 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #42 [internal function]: Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure)) #43 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(124): call_user_func_array(Array, Array) #44 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #45 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #46 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(124): call_user_func_array(Array, Array) #47 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(62): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #48 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #49 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(124): call_user_func_array(Array, Array) #50 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #51 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure)) #52 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(124): call_user_func_array(Array, Array) #53 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php(59): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #54 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure)) #55 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(124): call_user_func_array(Array, Array) #56 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(44): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #57 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) #58 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(124): call_user_func_array(Array, Array) #59 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) #60 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #61 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(122): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #62 C:\www\wenleme\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(87): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #63 C:\www\wenleme\public\index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #64 {main}  

请先 登录 后评论

3 个回答

登峰 - 官方技术支持
擅长:tipask,php,服务器,网站建设

确认一下数据库地址、端口有没有填错。

手动修改一下根目录的.env文件,把DB_HOST=localhost:3306 修改为 DB_HOST=localhost 去掉了端口号

然后访问安装地址: 你的问答域名/install/initDB

看下是否正常。

请先 登录 后评论
13113629361

我一样的问题,谁帮我处理下,我的微信347769601

请先 登录 后评论
自然而然 - 优选网https://www.uguu.com/

我这个网站也是问答系统做的,我知道https://ask.uguu.com/

请先 登录 后评论