Use own db for red-task
Since we have several tables and sometimes need to create a copy on replication servers.
This commit is contained in:
@@ -51,7 +51,8 @@ url = URL( "mysql+pymysql",
|
||||
password=config.db_password,
|
||||
host=config.db_hostname,
|
||||
port=config.db_port,
|
||||
database=config.db_username + jogobot.config['db_suffix'],
|
||||
database=( config.db_username +
|
||||
jogobot.config['redundances']['db_suffix'] ),
|
||||
query={'charset': 'utf8'} )
|
||||
|
||||
engine = create_engine(url, echo=False)
|
||||
|
||||
Reference in New Issue
Block a user