Skip to content

quotaguard/pymysql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Mysql Example

Monkey patch example of how to use python and mysql through the QuotaGuard Static proxy.

Tested to work with Python 3

Usage

Install the pips in the requirements.txt file: pip install -r requirements.txt

Setup the environment variables QUOTAGUARDSTATIC_URL from the quotaguard dashboard. For example: http://username:password@hostname.quotaguard.com:9293

NOTE: HTTP and SOCKS urls are fine, app.py will handle either.

Setup your database connection environment variable DATABASE. For example: mysql://username:password@database.hostname.com:3306/database-name

Run the application: python app.py

About

Monkey patch example of connecting to mysql database through QuotaGuard proxy in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages