-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Operation Error while connecting flask app to mysql #16
Comments
Hi, can you tell me more about your other configuration too? What is the MySQL port you selected? |
|
Use the below code for docker-compose.yml it will fix above error : flask-app: mysql-db: volumes: |
please use mysql ip in two-tier-app-deployment.yaml file so that it work fine. |
OperationalError
MySQLdb.OperationalError: (2002, "Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)")
Both containers in same network but above error persist
The text was updated successfully, but these errors were encountered: