chaset utf8 > utf8mb4 수정
This commit is contained in:
@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user