New Local install with remote DB Error

vickencode - 1 month ago

Hi All! So I am doing a fresh, local install with a remote MYSQL DB, on AWS. However, although the DB is created along with all its tables etc... The install seems to fail during the install, and when I check the network it seems to always fail on the 5th installation step or simply put, "5 installer/run" ERROR: [2017-06-20 22:14:14] production.ERROR: PDOException: SQLSTATE[HY000] [1049] Unknown database etc.... vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43

For whatever reason it cant reconnect or loses connection on this step....

Any suggestions?

ryanthompson - 1 month ago

Can you check your logs for more detailed information? You could try make a normal model / table in another connection and testing that. Seems like configuration might be wrong? Mind sharing your non-sensitive info?

vickencode - 1 month ago

Hi Ryan, Just tried running it again from home, same issue occurred. Please find logs below. I have scratched all sensitive info. [2017-06-21 17:42:02] production.ERROR: PDOException: SQLSTATE[HY000] [1049] Unknown database 'remotetest' in /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 Stack trace:

0 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct('mysql:host=luck...', 'admin', '_Jump1101', Array)

1 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(116): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=luck...', 'admin', '_Jump1101', Array)

2 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(56): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=luck...', 'admin', '_Jump1101', Array)

3 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=luck...', Array, Array)

4 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(126): Illuminate\Database\Connectors\MySqlConnector->connect(Array)

5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors{closure}()

6 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connection.php(965): call_user_func(Object(Closure))

7 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connection.php(949): Illuminate\Database\Connection->getPdo()

8 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connection.php(936): Illuminate\Database\Connection->getDoctrineConnection()

9 /Users/vickencode/workstation/properties/laravel/learn/remote_test/core/anomaly/installer-module/src/Installer/Form/Validator/ValidateDatabase.php(40): Illuminate\Database\Connection->getDoctrineSchemaManager()

10 [internal function]: Anomaly\InstallerModule\Installer\Form\Validator\ValidateDatabase->handle(Object(Anomaly\InstallerModule\Installer\Form\InstallerFormBuilder), 'database_driver', 'mysql', Array, Object(Illuminate\Validation\Validator), Object(Anomaly\SelectFieldType\SelectFieldType))

11 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)

12 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(603): Illuminate\Container\Container->call(Array, Array)

13 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(503): Illuminate\Container\Container->callClass('Anomaly\Install...', Array, NULL)

14 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormExtender.php(69): Illuminate\Container\Container->call('Anomaly\Install...', Array)

15 [internal function]: Anomaly\Streams\Platform\Ui\Form\FormExtender->Anomaly\Streams\Platform\Ui\Form{closure}('database_driver', 'mysql', Array, Object(Illuminate\Validation\Validator))

16 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(3273): call_user_func_array(Object(Closure), Array)

17 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(3393): Illuminate\Validation\Validator->callExtension('valid_database', Array)

18 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(517): Illuminate\Validation\Validator->__call('validateValidDa...', Array)

19 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(431): Illuminate\Validation\Validator->validateAttribute('database_driver', 'ValidDatabase')

20 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormValidator.php(128): Illuminate\Validation\Validator->passes()

21 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormValidator.php(115): Anomaly\Streams\Platform\Ui\Form\FormValidator->setResponse(Object(Illuminate\Validation\Validator), Object(Anomaly\InstallerModule\Installer\Form\InstallerFormBuilder))

22 [internal function]: Anomaly\Streams\Platform\Ui\Form\FormValidator->handle(Object(Anomaly\InstallerModule\Installer\Form\InstallerFormBuilder))

23 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)

24 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(603): Illuminate\Container\Container->call(Array, Array)

25 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(503): Illuminate\Container\Container->callClass('Anomaly\Streams...', Array, NULL)

26 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/Command/ValidateForm.php(54): Illuminate\Container\Container->call('Anomaly\Streams...', Array)

27 [internal function]: Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm->handle(Object(Illuminate\Foundation\Application))

28 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)

29 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call(Array)

30 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

31 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

32 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure))

33 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(75): Illuminate\Bus\Dispatcher->dispatchNow(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

34 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Bus/DispatchesJobs.php(17): Illuminate\Bus\Dispatcher->dispatch(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

35 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/Command/PostForm.php(55): Anomaly\Streams\Platform\Ui\Form\Command\PostForm->dispatch(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

36 [internal function]: Anomaly\Streams\Platform\Ui\Form\Command\PostForm->handle(Object(Illuminate\Events\Dispatcher))

37 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)

38 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call(Array)

39 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

40 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

41 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure))

42 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(75): Illuminate\Bus\Dispatcher->dispatchNow(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

43 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Bus/DispatchesJobs.php(17): Illuminate\Bus\Dispatcher->dispatch(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

44 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormBuilder.php(239): Anomaly\Streams\Platform\Ui\Form\FormBuilder->dispatch(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

45 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormBuilder.php(196): Anomaly\Streams\Platform\Ui\Form\FormBuilder->post()

46 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormBuilder.php(280): Anomaly\Streams\Platform\Ui\Form\FormBuilder->make(NULL)

47 /Users/vickencode/workstation/properties/laravel/learn/remote_test/core/anomaly/installer-module/src/Http/Controller/InstallerController.php(36): Anomaly\Streams\Platform\Ui\Form\FormBuilder->render()

48 [internal function]: Anomaly\InstallerModule\Http\Controller\InstallerController->index(Object(Anomaly\InstallerModule\Installer\Form\InstallerFormBuilder))

49 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array)

50 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('index', Array)

51 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Route.php(189): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Anomaly\InstallerModule\Http\Controller\InstallerController), 'index')

52 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Route.php(144): Illuminate\Routing\Route->runController()

53 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(653): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))

54 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

55 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/CheckForMaintenanceMode.php(95): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

56 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))

57 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

58 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/ApplicationReady.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

59 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\ApplicationReady->handle(Object(Illuminate\Http\Request), Object(Closure))

60 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

61 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php(88): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

62 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\SetLocale->handle(Object(Illuminate\Http\Request), Object(Closure))

63 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

64 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/PoweredBy.php(38): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

65 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\PoweredBy->handle(Object(Illuminate\Http\Request), Object(Closure))

66 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

67 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/VerifyCsrfToken.php(106): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

68 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))

69 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

70 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

71 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(655): Illuminate\Pipeline\Pipeline->then(Object(Closure))

72 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(629): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))

73 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(607): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))

74 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(268): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))

75 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(Object(Illuminate\Http\Request))

76 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php(88): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

77 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\SetLocale->handle(Object(Illuminate\Http\Request), Object(Closure))

78 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

79 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

80 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))

81 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

82 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

83 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))

84 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

85 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

86 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))

87 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

88 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

89 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))

90 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

91 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

92 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(150): Illuminate\Pipeline\Pipeline->then(Object(Closure))

93 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(117): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))

94 /Users/vickencode/workstation/properties/laravel/learn/remote_test/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))

95 /Users/vickencode/.composer/vendor/laravel/valet/server.php(133): require('/Users/vickenco...')

96

Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[HY000] [1049] Unknown database 'remotetest' in /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47 Stack trace:

0 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(116): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=luck...', 'admin', '_Jump1101', Array)

1 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(56): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=luck...', 'admin', '_Jump1101', Array)

2 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=luck...', Array, Array)

3 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(126): Illuminate\Database\Connectors\MySqlConnector->connect(Array)

4 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors{closure}()

5 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connection.php(965): call_user_func(Object(Closure))

6 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connection.php(949): Illuminate\Database\Connection->getPdo()

7 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Database/Connection.php(936): Illuminate\Database\Connection->getDoctrineConnection()

8 /Users/vickencode/workstation/properties/laravel/learn/remote_test/core/anomaly/installer-module/src/Installer/Form/Validator/ValidateDatabase.php(40): Illuminate\Database\Connection->getDoctrineSchemaManager()

9 [internal function]: Anomaly\InstallerModule\Installer\Form\Validator\ValidateDatabase->handle(Object(Anomaly\InstallerModule\Installer\Form\InstallerFormBuilder), 'database_driver', 'mysql', Array, Object(Illuminate\Validation\Validator), Object(Anomaly\SelectFieldType\SelectFieldType))

10 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)

11 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(603): Illuminate\Container\Container->call(Array, Array)

12 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(503): Illuminate\Container\Container->callClass('Anomaly\Install...', Array, NULL)

13 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormExtender.php(69): Illuminate\Container\Container->call('Anomaly\Install...', Array)

14 [internal function]: Anomaly\Streams\Platform\Ui\Form\FormExtender->Anomaly\Streams\Platform\Ui\Form{closure}('database_driver', 'mysql', Array, Object(Illuminate\Validation\Validator))

15 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(3273): call_user_func_array(Object(Closure), Array)

16 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(3393): Illuminate\Validation\Validator->callExtension('valid_database', Array)

17 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(517): Illuminate\Validation\Validator->__call('validateValidDa...', Array)

18 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(431): Illuminate\Validation\Validator->validateAttribute('database_driver', 'ValidDatabase')

19 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormValidator.php(128): Illuminate\Validation\Validator->passes()

20 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormValidator.php(115): Anomaly\Streams\Platform\Ui\Form\FormValidator->setResponse(Object(Illuminate\Validation\Validator), Object(Anomaly\InstallerModule\Installer\Form\InstallerFormBuilder))

21 [internal function]: Anomaly\Streams\Platform\Ui\Form\FormValidator->handle(Object(Anomaly\InstallerModule\Installer\Form\InstallerFormBuilder))

22 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)

23 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(603): Illuminate\Container\Container->call(Array, Array)

24 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(503): Illuminate\Container\Container->callClass('Anomaly\Streams...', Array, NULL)

25 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/Command/ValidateForm.php(54): Illuminate\Container\Container->call('Anomaly\Streams...', Array)

26 [internal function]: Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm->handle(Object(Illuminate\Foundation\Application))

27 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)

28 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call(Array)

29 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

30 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

31 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure))

32 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(75): Illuminate\Bus\Dispatcher->dispatchNow(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

33 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Bus/DispatchesJobs.php(17): Illuminate\Bus\Dispatcher->dispatch(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

34 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/Command/PostForm.php(55): Anomaly\Streams\Platform\Ui\Form\Command\PostForm->dispatch(Object(Anomaly\Streams\Platform\Ui\Form\Command\ValidateForm))

35 [internal function]: Anomaly\Streams\Platform\Ui\Form\Command\PostForm->handle(Object(Illuminate\Events\Dispatcher))

36 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)

37 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call(Array)

38 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

39 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

40 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure))

41 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(75): Illuminate\Bus\Dispatcher->dispatchNow(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

42 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Bus/DispatchesJobs.php(17): Illuminate\Bus\Dispatcher->dispatch(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

43 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormBuilder.php(239): Anomaly\Streams\Platform\Ui\Form\FormBuilder->dispatch(Object(Anomaly\Streams\Platform\Ui\Form\Command\PostForm))

44 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormBuilder.php(196): Anomaly\Streams\Platform\Ui\Form\FormBuilder->post()

45 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Ui/Form/FormBuilder.php(280): Anomaly\Streams\Platform\Ui\Form\FormBuilder->make(NULL)

46 /Users/vickencode/workstation/properties/laravel/learn/remote_test/core/anomaly/installer-module/src/Http/Controller/InstallerController.php(36): Anomaly\Streams\Platform\Ui\Form\FormBuilder->render()

47 [internal function]: Anomaly\InstallerModule\Http\Controller\InstallerController->index(Object(Anomaly\InstallerModule\Installer\Form\InstallerFormBuilder))

48 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array)

49 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('index', Array)

50 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Route.php(189): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Anomaly\InstallerModule\Http\Controller\InstallerController), 'index')

51 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Route.php(144): Illuminate\Routing\Route->runController()

52 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(653): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))

53 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

54 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/CheckForMaintenanceMode.php(95): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

55 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))

56 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

57 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/ApplicationReady.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

58 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\ApplicationReady->handle(Object(Illuminate\Http\Request), Object(Closure))

59 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

60 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php(88): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

61 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\SetLocale->handle(Object(Illuminate\Http\Request), Object(Closure))

62 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

63 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/PoweredBy.php(38): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

64 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\PoweredBy->handle(Object(Illuminate\Http\Request), Object(Closure))

65 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

66 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/VerifyCsrfToken.php(106): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

67 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))

68 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

69 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

70 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(655): Illuminate\Pipeline\Pipeline->then(Object(Closure))

71 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(629): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))

72 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(607): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))

73 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(268): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))

74 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(Object(Illuminate\Http\Request))

75 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php(88): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

76 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Anomaly\Streams\Platform\Http\Middleware\SetLocale->handle(Object(Illuminate\Http\Request), Object(Closure))

77 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

78 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

79 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))

80 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

81 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

82 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))

83 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

84 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

85 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))

86 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

87 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

88 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))

89 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

90 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

91 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(150): Illuminate\Pipeline\Pipeline->then(Object(Closure))

92 /Users/vickencode/workstation/properties/laravel/learn/remote_test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(117): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))

93 /Users/vickencode/workstation/properties/laravel/learn/remote_test/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))

94 /Users/vickencode/.composer/vendor/laravel/valet/server.php(133): require('/Users/vickenco...')

95 {main} {"identification":{"id":"53a0292c-1b18-4cb8-8043-adfea4b72c99"}}

vickencode - 1 month ago

Ryan, I also want to add that the connection works because the db and respective tables are created.