1

I have installed Craft with Composer and have run the set up command.

When I type in my database name I always get the error:

Testing database credentials... failed: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

I have tried with a Mamp Pro server set up (restarted as per another post) and with a different username (I can't seem to set a password in terminal during the setup?). Any ideas how I can get past this final hurdle?

1 Answer 1

3

Have you tried to enter the database information in your .env file?

Your password is usually "root" in a MAMP environment.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.