Skip to content

Access denied for user 'tracks'@'172.17.0.3' #2843

@john2exonets

Description

@john2exonets

Trying to use the Containerized version of Tracks 2.6.1, but getting the "We're sorry, but something went wrong" error when I try to access the app from a browser for the first time. A 'docker logs tracks' dump show the following error:

I, [2022-10-05T23:08:24.718345 #9]  INFO -- : [736d9929-6860-49ca-bb67-fd48592595bc] Started GET "/login" for 172.17.0.1 at 2022-10-05 23:08:24 +0000
I, [2022-10-05T23:08:24.732359 #9]  INFO -- : [736d9929-6860-49ca-bb67-fd48592595bc] Processing by LoginController#login as HTML
I, [2022-10-05T23:08:24.753607 #9]  INFO -- : [736d9929-6860-49ca-bb67-fd48592595bc] Completed 500 Internal Server Error in 21ms (Allocations: 565)
F, [2022-10-05T23:08:24.755115 #9] FATAL -- : [736d9929-6860-49ca-bb67-fd48592595bc]
[736d9929-6860-49ca-bb67-fd48592595bc] Mysql2::Error::ConnectionError (Access denied for user 'tracks'@'172.17.0.3' (using password: YES)):
[736d9929-6860-49ca-bb67-fd48592595bc]
[736d9929-6860-49ca-bb67-fd48592595bc] app/models/user.rb:146:in `no_users_yet?'
[736d9929-6860-49ca-bb67-fd48592595bc] app/controllers/login_controller.rb:25:in `login'

Since Tracks is inside another container, MySQL seems to be having problems with the 'tracks' user. I have tried 'tracks'@'localhost', 'tracks'@'172.17.0.2', & 'tracks'@'172.17.0.3'....none of those seem to work.

What am I doing wrong? I installed my MySQL and Tracks containers using the installation document from this repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions