Fixed unicode support

doc_update
Joey Hines 2018-07-21 14:47:40 -05:00
parent 866cc56a33
commit 8bd65529f2
1 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,6 @@ def get_engine_arg(config):
port = config['SQL']['port'] port = config['SQL']['port']
database_name = config['SQL']['database'] database_name = config['SQL']['database']
engine_args = '{}://{}:{}@{}:{}/{}' engine_args = '{}://{}:{}@{}:{}/{}?charset=utf8mb4&use_unicode=1'
return engine_args.format(driver, username, password, host, port, database_name) return engine_args.format(driver, username, password, host, port, database_name)