Instantly share code, notes, and snippets.

Embed
What would you like to do?
conn = pymysql.connect(
host=os.environ['MYSQL_HOST'],
user=os.environ['MYSQL_USERNAME'],
password=os.environ['MYSQL_PASSWORD'],
database='enwiki_p',
charset='utf8',
use_unicode=True
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment