Jump to content

UTF8 to UTF8MB4


Recommended Posts

While upgrading my 3.4.x site, I noticed my other forums are on UTF8. Doing some research it seems UTF8MB4 is required for Emoji's. I didn't knew that while back. 

How can I convert my IPS 4.7.6 site DB which is using UTF8 to UTF8MB4? I tried to search in market place and nothing comes up under IPS Community Extras. 

Thanks.

Link to comment
Share on other sites

The database checker checks only tables in the applications schema.json files. Any extra tables not in there are skipped. And all the utf8_unicode_ci tables in your screenshots are old/unused tables the upgrade process failed to drop. Or probably tables from old modifications that weren't removed properly (like the ipb_jlogica_XXX tables).

 

The 2 tables marked in your second screenshot by that red rectangle are 3.x tables that are not present in 4.x, you can safely delete them.

Edited by teraßyte
Link to comment
Share on other sites

  • 2 weeks later...
On 1/16/2023 at 6:33 AM, Marc Stridgen said:

Do you already have it set as using mb4 in your conf_global.php file? If so, thats likely why you are not seeing the option to convert to mb4

Sorry, I don't have that set in conf_global.php. Interesting updating is when I updated another forum from 3.4.x to latest version, i see different behavior. 

The one in problem seems to be regularly updated. 

On 1/15/2023 at 5:36 PM, teraßyte said:

And all the utf8_unicode_ci tables in your screenshots are old/unused tables the upgrade process failed to drop. Or probably tables from old modifications that weren't removed properly (like the ipb_jlogica_XXX tables).

Is their anyway for me to figure out which tables are not used, so i can drop them permanently?

Thank you both.

Link to comment
Share on other sites

13 hours ago, AlexJ said:

Is their anyway for me to figure out which tables are not used, so i can drop them permanently?

Thank you both.

The only way would be to compare the list of tables to a fresh install and account for the additional tables added by installed modifications. That's how I usually do it, especially after a legacy upgrade.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...