How to Fix MYSQL Error Character Insert into columns

23 sec read

saat saya menjalankan query terdapat error sebagai berikut:

setelah saya telusuri

https://stackoverflow.com/questions/34165523/error-1366-hy000-incorrect-string-value-xf0-x9f-x98-x9c-for-column-comme

kemudian edit sql pada tabel yang bersangkutan

ALTER TABLE issue_issue CONVERT TO CHARACTER SET utf8mb4;

ALTER TABLE issue_issue 
CHANGE COLUMN division_api division_api TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

atau

ALTER DATABASE issue CHARACTER SET = utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE issue_issue CONVERT to CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE issue_issue CHANGE division_api division_api LONGTEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;

How to secure important data with environments in Django

settings.py .Env
admin
20 sec read

Protected: Workstation Security Audit

There is no excerpt because this is a protected post.
admin
1 min read

Protected: Traceroute dan Curl

There is no excerpt because this is a protected post.
admin
13 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *