I try to change collation on MySQL table from latin1_swedish_ci
to utf8_general_ci
. I used query like this:
ALTER TABLE mytable
MODIFY myfield varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci;`
But this query result errno 150
. I think this is because foreign key that reference into mytable. I try to delete all record on my database, I drop all foreign keys also. I try to run again. But still result errno 150
.
Any idea about my problem ?