Fixed unicode support
parent
866cc56a33
commit
8bd65529f2
|
@ -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)
|
Loading…
Reference in New Issue