-
-
Save taylordaughtry/6d54b70667c8a7eff7ef45a665137b82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generating optimized autoload files | |
> @php -r "copy('.env.example', '.env');" | |
> @php -r "unlink('composer.json');" | |
> @php -r "unlink('LICENSE.md');" | |
> @php -r "unlink('README.md');" | |
> @php -r "rename('composer.json.default', 'composer.json');" | |
Generating optimized autoload files | |
> @php craft setup/welcome | |
Exception 'craft\errors\DbConnectException' with message 'Craft CMS can’t connect to the database with the credentials in config/db.php.' | |
in /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/db/Connection.php:193 | |
Stack trace: | |
#0 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/Connection.php(1012): craft\db\Connection->open() | |
#1 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/Connection.php(999): yii\db\Connection->getMasterPdo() | |
#2 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php(380): yii\db\Connection->getSlavePdo() | |
#3 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php(399): yii\db\mysql\QueryBuilder->supportsFractionalSeconds() | |
#4 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/mysql/QueryBuilder.php(57): yii\db\mysql\QueryBuilder->defaultTimeTypeMap() | |
#5 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/db/mysql/QueryBuilder.php(27): yii\db\mysql\QueryBuilder->init() | |
#6 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/base/BaseObject.php(109): craft\db\mysql\QueryBuilder->init() | |
#7 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/QueryBuilder.php(116): yii\base\BaseObject->__construct(Array) | |
#8 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/db/mysql/Schema.php(70): yii\db\QueryBuilder->__construct(Object(craft\db\Connection), Array) | |
#9 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/Schema.php(249): craft\db\mysql\Schema->createQueryBuilder() | |
#10 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/Connection.php(846): yii\db\Schema->getQueryBuilder() | |
#11 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/Query.php(146): yii\db\Connection->getQueryBuilder() | |
#12 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/db/Query.php(274): yii\db\Query->createCommand(Object(craft\db\Connection)) | |
#13 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/db/Query.php(177): yii\db\Query->one(NULL) | |
#14 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/base/ApplicationTrait.php(567): craft\db\Query->one() | |
#15 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/base/ApplicationTrait.php(256): craft\console\Application->getInfo(true) | |
#16 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/helpers/App.php(534): craft\console\Application->getIsInstalled() | |
#17 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/config/app.php(231): craft\helpers\App::projectConfigConfig() | |
#18 [internal function]: {closure}() | |
#19 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/di/Container.php(508): call_user_func_array(Object(Closure), Array) | |
#20 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/BaseYii.php(351): yii\di\Container->invoke(Object(Closure), Array) | |
#21 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yii\BaseYii::createObject(Object(Closure)) | |
#22 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/base/Module.php(742): yii\di\ServiceLocator->get('projectConfig', true) | |
#23 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/console/Application.php(162): yii\base\Module->get('projectConfig', true) | |
#24 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/base/ApplicationTrait.php(1205): craft\console\Application->get('projectConfig') | |
#25 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/base/ApplicationTrait.php(1368): craft\console\Application->getProjectConfig() | |
#26 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/base/ApplicationTrait.php(1329): craft\console\Application->_setTimeZone() | |
#27 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/console/Application.php(63): craft\console\Application->_preInit() | |
#28 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/base/BaseObject.php(109): craft\console\Application->init() | |
#29 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/base/Application.php(206): yii\base\BaseObject->__construct(Array) | |
#30 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/console/Application.php(89): yii\base\Application->__construct(Array) | |
#31 /Users/taylor/sites/test-directory/vendor/craftcms/cms/src/console/Application.php(54): yii\console\Application->__construct(Array) | |
#32 [internal function]: craft\console\Application->__construct(Array) | |
#33 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/di/Container.php(384): ReflectionClass->newInstanceArgs(Array) | |
#34 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('craft\\console\\A...', Array, Array) | |
#35 /Users/taylor/sites/test-directory/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('craft\\console\\A...', Array, Array) | |
#36 /Users/taylor/sites/test-directory/vendor/craftcms/cms/bootstrap/bootstrap.php(244): yii\BaseYii::createObject(Array) | |
#37 /Users/taylor/sites/test-directory/vendor/craftcms/cms/bootstrap/console.php(34): require('/Users/taylor/s...') | |
#38 /Users/taylor/sites/test-directory/craft(21): require('/Users/taylor/s...') | |
#39 {main} | |
Script @php craft setup/welcome handling the post-create-project-cmd event returned with error code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment