Skip to content
Permalink
Browse files

[#13] mysql DBAPI library를 mysqlclient에서 mysqldb로 변경

  • Loading branch information...
JoMingyu committed Mar 4, 2019
1 parent b1fd08f commit 3196d613f5271f19a762b3109e1e8e9ce5b992ff
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/db_config.py
@@ -5,13 +5,13 @@


class LocalDBConfig:
MAIN_DB_URL = 'mysql+mysqlclient://stay_local:b,to#98gks1VK0@127.0.0.1:3306/{}?charset=utf8mb4'.format(
MAIN_DB_URL = 'mysql+mysqldb://stay_local:b,to#98gks1VK0@127.0.0.1:3306/{}?charset=utf8mb4'.format(
DB_NAME
)


class RemoteDBConfig:
MAIN_DB_URL = 'mysql+mysqlclient://{}:{}@{}:3306/{}?charset=utf8mb4'.format(
MAIN_DB_URL = 'mysql+mysqldb://{}:{}@{}:3306/{}?charset=utf8mb4'.format(
os.getenv('DB_USER'),
os.getenv('DB_PASSWORD'),
os.getenv('DB_ENDPOINT'),

0 comments on commit 3196d61

Please sign in to comment.
You can’t perform that action at this time.