Converting Database Character Sets Incorrect String Issue
-
I have a very old WordPress database with a lot of latin1_swedish_ci tables collations. Using this codex guide, I properly changed most tables with the 3-step SQL method on both my live and localhost setup.
However, a few tables throw similar error that I can’t figure out. When attempting to execute this:
alter table wp_options change option_value option_value LONGTEXT character set latin1; alter table wp_options change option_value option_value LONGBLOB; alter table wp_options change option_value option_value LONGTEXT character set utf8mb4;
I get an error:
alter table wp_options change option_value option_value LONGTEXT character set utf8mb4
#1366 – Incorrect string value: ‘\x92s Fre…’ for column ‘option_value’ at row 158
How exactly do you find either the incorrect sting or row 158?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Converting Database Character Sets Incorrect String Issue’ is closed to new replies.