From a2beddfa121a57376ab3a5249129001596f9c4e8 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Mon, 7 Oct 2024 22:57:47 +0900 Subject: [PATCH] =?UTF-8?q?DB=20=E5=90=8D=E5=BF=98=E3=82=8C=E3=81=A6?= =?UTF-8?q?=E3=81=9F=E3=81=AE=E3=81=A7=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update_db.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ()