Access MySQL Db with QuotaGuard Static IP and PythonAnywhere
Approximate time to read: 1 min
Are you trying to connect to a MySQL Database and PythonAnywhere recommended you reach out to QuotaGuard for help? You’ve come to the right place.
To make this work easiest for new users, we created an example Python application that uses a monkeypatched version of mysql-connector-python through PySocks.
Please read the README.md file for details on how to use the test application. Once you have tested that locally, you can integrate it into your application.
NOTE:
You would need to install the following first:
You will also need to set the environment variable for QUOTAGUARDSTATIC_URL
Once those steps are complete, you should have the bare-bones setup done.
Running into issues? Please write us at Support and we’ll help debug it to get you up and running.