diff --git a/update_db.py b/update_db.py index 6da1bb4..9df9978 100644 --- a/update_db.py +++ b/update_db.py @@ -56,9 +56,9 @@ class CommentResult (TypedDict): def main ( ) -> None: - conn = mysql.connector.connect (host = os.environ['MYSQL_HOST'], - user = os.environ['MYSQL_USER'], - password = os.environ['MYSQL_PASS']) + conn = mysql.connector.connect (user = os.environ['MYSQL_USER'], + password = os.environ['MYSQL_PASS'], + database = 'nizika_nico') now = datetime.now ()