sqlExport: Set db character set to utf8

This commit is contained in:
Adam Goldsmith 2020-02-25 15:35:52 -05:00
parent 6ab2b7bd9c
commit 65b79cad99

View File

@ -51,6 +51,7 @@ with open('tableMapping.yaml') as f:
conn = MySQLdb.connect(**MEMBERSHIPWORKS_DB) conn = MySQLdb.connect(**MEMBERSHIPWORKS_DB)
conn.set_character_set('utf8')
c = conn.cursor() c = conn.cursor()
def createDefinitionsFromTableMap(tableMap): def createDefinitionsFromTableMap(tableMap):