unknow collation: ‘utf8mb4_0900_ai_ci’

Hi!
Good day.
How can I import the version 14.2 database into a local environment?
MySQL send error unknow collation: ‘utf8mb4_0900_ai_ci’
Please can help me.
Thanks!

Parents Reply
  • That’s very odd since MySQL 8.2 fully supports utf8mb4_0900_ai_ci. As long as you're restoring the same original .sql files from your backup, it should work without issues.

    The only problem I ran into after upgrading was ensuring that nothing from MySQL 5.7 was still running. Have you verified this by running mysql -v to confirm that MySQL 8.2 is actually active?

    I know Sugar officially supports MySQL 8.0.31, but I can’t see why 8.2 would have this issue. I’m currently running 8.0.41 and have successfully restored multiple client instances without any problems.

    One thing had to do was fully uninstall MySQL 5.7, flushing out any lingering my.cnf files, and ensuring a clean install of MySQL 8.0.41. Leftover configuration files caused issues for me during my upgrade. I also backed up all the databases I had, flushed out the database folders before installing a fresh MySQL.

    I just get the feeling that something is lingering as you shouldn't be have an issue with 8.2 and utf8mb4_0900_ai_ci.

    Can you try running

    SHOW COLLATION LIKE 'utf8mb4_0900_ai_ci';

    also 

    SHOW CHARACTER SET LIKE 'utf8mb4';

    Here is an image of mine

    share.cleanshot.com/6b8YlRKB

Children