Change charset table on MySql


ALTER TABLE table_name charset=utf8; // just change default charset but not existing column charset

ALTER TABLE cam_student CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; //change existing column charset

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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