Skip to content

Database password error #30

@cdisabatino

Description

@cdisabatino

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"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions