|
@ -49,7 +49,7 @@ Base = declarative_base() |
|
|
url = URL( "mysql+pymysql", |
|
|
url = URL( "mysql+pymysql", |
|
|
username=config.db_username, |
|
|
username=config.db_username, |
|
|
password=config.db_password, |
|
|
password=config.db_password, |
|
|
host=config.db_hostname, |
|
|
host=config.db_hostname_format.format('tools'), |
|
|
port=config.db_port, |
|
|
port=config.db_port, |
|
|
database=( config.db_username + |
|
|
database=( config.db_username + |
|
|
jogobot.config['redundances']['db_suffix'] ), |
|
|
jogobot.config['redundances']['db_suffix'] ), |
|
|