About Remote MySQL Servers
The following MySQL query ensures permissions for a user to access the database from a remote (or local) ip_address
:
1 2 | GRANT ALL PRIVILEGES ON my_database.* TO 'my_user'@'ip_address' IDENTIFIED BY 'my_password'; |
This is necessary when the database server is in a different location than the Django server(s).
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You