|
@@ -11,7 +11,7 @@ except ImportError:
|
|
|
|
|
|
|
|
|
|
app = Flask(__name__)
|
|
app = Flask(__name__)
|
|
-app.config['SQLALCHEMY_DATABASE_URI'] = mysql_schema + '//benchmarkdbuser:benchmarkdbpass@localhost:3306/hello_world'
|
|
|
|
|
|
+app.config['SQLALCHEMY_DATABASE_URI'] = mysql_schema + '//benchmarkdbuser:benchmarkdbpass@DBHOSTNAME:3306/hello_world'
|
|
db = SQLAlchemy(app)
|
|
db = SQLAlchemy(app)
|
|
dbraw_engine = create_engine(app.config['SQLALCHEMY_DATABASE_URI'])
|
|
dbraw_engine = create_engine(app.config['SQLALCHEMY_DATABASE_URI'])
|
|
|
|
|