(macOs) Error: django.db.utils.OperationalError: (2000, 'Unknown MySQL error') #158411
Unanswered
VanBap
asked this question in
Programming Help
Replies: 2 comments
-
|
I figured out the reason: |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Body
Hi All,
I am working on Project using Django on macOS.
I am trying to connect to the MySQL database from remote server, but its giving error when i used macOS. Although it used to work well when i used Linux one.
Here is my part of settings.py
Here is part of my dev-cluster.sh
When I tried to run the command:
python manage.py runserver 0.0.0.0:8000I got this Error:
django.db.utils.OperationalError: (2000, 'Unknown MySQL error')I did check the connection to the host (lb-dev) by pinging it or connecting it using DataGrip and it worked completely.
Can anyone help. Has anything changed? Am I doing anything wrong?
Thanks,
Van
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions