-
Notifications
You must be signed in to change notification settings - Fork 124
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
can't connect to the database #4
Comments
Not related to this environment. You have an example in env files and there you can find all database credentials. |
excuse me how I can create a new user except root ? I wanna connect database with another user
|
Pay attention to next row:
It means that when starting an image all files in /storage/mysql-data will be mapped into container. If you changed some db environment variables just do next: Then new "/storage/mysql-data" will be generated and everything will work with your new db credentials. |
I have a problem in the server when I wanna connect database it says for example
SQLSTATE[HY000] [1045] Access denied for user 'database'@'111.111.112.4'
but my IP has changed and now is 111.111.112.1
How can I fix this problem?
The text was updated successfully, but these errors were encountered: