Browse Source

DB 名忘れてたので追加

feature/query
みてるぞ 1 month ago
parent
commit
a2beddfa12
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      update_db.py

+ 3
- 3
update_db.py View File

@@ -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 ()



Loading…
Cancel
Save