Quellcode durchsuchen

895 all changes work

Works straight out the box, had to install circus manually,
however in future installations that will be taken
care of by the install script.
James Yen vor 11 Jahren
Ursprung
Commit
7626b81149
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      flask/app.py

+ 1 - 1
flask/app.py

@@ -22,7 +22,7 @@ except ImportError:
 # setup
 # setup
 
 
 app = Flask(__name__)
 app = Flask(__name__)
-app.config['SQLALCHEMY_DATABASE_URI'] = mysql_schema + '//benchmarkdbuser:benchmarkdbpass@DBHOSTNAME:3306/hello_world?charset=utf8'
+app.config['SQLALCHEMY_DATABASE_URI'] = mysql_schema + '//benchmarkdbuser:benchmarkdbpass@localhost:3306/hello_world?charset=utf8'
 app.config['JSONIFY_PRETTYPRINT_REGULAR'] = False
 app.config['JSONIFY_PRETTYPRINT_REGULAR'] = False
 db = SQLAlchemy(app)
 db = SQLAlchemy(app)
 dbraw_engine = create_engine(app.config['SQLALCHEMY_DATABASE_URI'], connect_args={'autocommit': True}, pool_reset_on_return=None)
 dbraw_engine = create_engine(app.config['SQLALCHEMY_DATABASE_URI'], connect_args={'autocommit': True}, pool_reset_on_return=None)