Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

SequelizeAccessDeniedError: ER_ACCESS_DENIED_ERROR: #17

Closed
craigtsmith opened this issue Nov 15, 2016 · 1 comment
Closed

SequelizeAccessDeniedError: ER_ACCESS_DENIED_ERROR: #17

craigtsmith opened this issue Nov 15, 2016 · 1 comment

Comments

@craigtsmith
Copy link

SequelizeAccessDeniedError: ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password: YES)

Noticed this in autoenv notice:

autoenv:     DATABASE_URL=mysql://root:undefined@localhost:3306/

i wonder if that 'undefined' is causing issues.

@SeyZ SeyZ closed this as completed in 2a5606f Nov 16, 2016
@SeyZ
Copy link
Member

SeyZ commented Nov 16, 2016

Thanks @craigtsmith for report!
You're right, the DATABASE_URL was incorrect. Can you update it in .env file with the value:
DATABASE_URL=mysql://root@localhost:3306/

It's not fixed for new projects.

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

No branches or pull requests

2 participants