chaset utf8 > utf8mb4 수정

This commit is contained in:
2025-06-27 14:28:08 +09:00
parent d4d44a5b1e
commit 449b69ecaa

View File

@ -81,7 +81,7 @@ def write_board(board, subject, content, mb_id, nickname, ca_name=None, file_lis
user=DB_CONFIG['USER'], user=DB_CONFIG['USER'],
db=DB_CONFIG['DBNAME'], db=DB_CONFIG['DBNAME'],
password=DB_CONFIG['PASS'], password=DB_CONFIG['PASS'],
charset='utf8' charset=DB_CONFIG['CHARSET']
) )
curs = conn.cursor() curs = conn.cursor()
now = datetime.now().strftime('%Y-%m-%d %H:%M:%S') now = datetime.now().strftime('%Y-%m-%d %H:%M:%S')