I’ve just noticed that individual tables are set to the wrong collation in phpmyadmin. I will have to search through each table in every database and convert all the text and varchar settings.
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Jul | ||||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
I’ve just noticed that individual tables are set to the wrong collation in phpmyadmin. I will have to search through each table in every database and convert all the text and varchar settings.
I decided I had to change all the collations on the databases and tables.
Using phpMyAdmin, I ran the command
show databases
Then I copy the results to Textpad and use the following regular expressions:
# ^([^#^\n])(.*)\n => \1\2\n\n
# ^([^#^\n])(.*)\n => ALTER DATABASE \1\2 COLLATE utf8_general_ci ;\n
Similarly for each table in each database:
show tables
# ^([^#^\n])(.*)\n => \1\2\n\n
# ^([^#^\n])(.*)\n => ALTER TABLE \1\2 COLLATE utf8_general_ci ;\n
Reggie Thomson's Diary is powered by WordPress | Using Tiga theme with a bit of Ozh + WP 2.2 / 2.3 Tiga Upgrade