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

Database password error #30

Open
cdisabatino opened this issue Nov 15, 2019 · 0 comments
Open

Database password error #30

cdisabatino opened this issue Nov 15, 2019 · 0 comments

Comments

@cdisabatino
Copy link

Hello,
In the "core.edn" configuration files, the default password is "salava". If you change the password (fields ": password"), the command "lein migrator-reset" generates the error below.
With the password "salava" there is no error.

Moreover, in the "core.edn" configuration files, the ": server-name" field is equal to "127.0.0.1" and in the error message, it says "localhost".

Would the information not be hard-coded in the code ?

I did not try to change the user name and the name of the database.

The mysql account works, I can connect to the mysql engine with the login and the password and I access the database (mysql -h 127.0.0.1 -u salava -p********* ; mysql -h localhost -u salava -p*********).

Thank you

migratus.database : Migration social-edit-column failed because Access denied for user 'salava'@'localhost' (using password: YES) backing out

:datasource {:adapter "mysql"
:username "salava"
:password "***********"
:database-name "salava"
:server-name "127.0.0.1"}

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

No branches or pull requests

1 participant