sqlExport: Set db character set to utf8
This commit is contained in:
parent
6ab2b7bd9c
commit
65b79cad99
@ -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):
|
||||||
|
Reference in New Issue
Block a user