Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: composer create-project skips database connection #15943

Closed
noregt opened this issue Oct 22, 2024 · 1 comment
Closed

[5.x]: composer create-project skips database connection #15943

noregt opened this issue Oct 22, 2024 · 1 comment
Labels

Comments

@noregt
Copy link
Contributor

noregt commented Oct 22, 2024

What happened?

Description

When installing CraftCMS, the installation procedure will skip the database connection, but starts asking for the username etc and then:
*** failed to install Craft: An error occurred while executing the "craft\migrations\Install migration: Craft CMS can’t connect to the database.

Using version 5.2 works: composer create-project craftcms/craft . "5.2.*", so I used that as the starter

Steps to reproduce

  1. run the installer as composer create-project craftcms/craft .

Craft CMS version

5.3

PHP version

8.3

Operating system and version

Cloudways server

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for reporting that! Just released Craft 4.12.8 and 5.4.9 with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants