diff --git a/config.py b/config.py index 9166ff5..38c5721 100644 --- a/config.py +++ b/config.py @@ -41,8 +41,8 @@ class TestingConfig(Config): class ProductionConfig(Config): - SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:{h}@database/pitstops'.format( - h=os.environ.get('DATABASE_ENV_MYSQL_ROOT_PASSWORD')) + SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:{h}@localhost/pitstops'.format( + h=os.environ.get('MYSQL_PASSWORD')) config = {