Merge branch 'fs#144-PyMySQL-instead-oursql' into develop
This commit is contained in:
@@ -46,12 +46,13 @@ import sqlalchemy.types as types
|
||||
|
||||
Base = declarative_base()
|
||||
|
||||
url = URL( "mysql+oursql",
|
||||
url = URL( "mysql+pymysql",
|
||||
username=config.db_username,
|
||||
password=config.db_password,
|
||||
host=config.db_hostname,
|
||||
port=config.db_port,
|
||||
database=config.db_username + jogobot.config['db_suffix'] )
|
||||
|
||||
engine = create_engine(url, echo=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user