-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
Access denied for user 'tracks'@'172.17.0.3' #2843
Comments
Are you installing using the ”Docker installation using a separate container” instructions? If so, you're probably right – the SQL user needs to be created allowing all hosts to connect! The correct SQL query for creating the user would be |
This doesn't work.....still get the same error!!
|
Did you check that logging in directly to the MySQL container works using, for example |
I could not find any logs or errors in the Mariadb container:
|
Years later, newer version (2.7.1), newer computers, and I STILL get this error:
|
For anyone else running into this issue, here is how to get around this issue (then you run into the next issue...) Start you DB container (I used Mariadb)
Make sure you have the local IP address of the Tracks container. You can always start the Tracks container, watch it crap out, then grab the DB container logs to see the 'Access denied for user tracks' error to see what the IP address is:
At this point, Tracks should be running.... However, it still has the problem about only being able to run just once -- no restarts of the container allowed:
This is documented in ticket #2844 |
Just to add to my last post: Overnight my Tracks container restarted, and I could no longer login. Checked the logs and it was back to "Access denied for user 'tracks'" again :( Killed the container, and modified my Start Tracks script:
That seems to do the trick for surviving restarts ....of course, you STILL have to delete the |
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:
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.
The text was updated successfully, but these errors were encountered: