Migrating Database UTF8 error

  • This topic has 3 replies, 2 voices, and was last updated 7 months ago by slservice33.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2132665
    slservice33
    Participant

    my wordpress database is UTF8 and wp-config says define( ‘DB_CHARSET’, ‘utf8’ );

    CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

    but when I migrate my site I get the error message

    The database server that this WordPress site is running on doesn’t support the character set (utf8) which you are trying to import. You can choose another suitable character set instead and continue with the restoration at your own risk
    The database server that this WordPress site is running on doesn’t support the collation (utf8_general_ci) used in the database which you are trying to import. You can choose another suitable collation instead and continue with the restoration (at your own risk).

    #2132666
    slservice33
    Participant
    This reply has been marked as moderator-only.
    #2133457
    Paul Bevan
    Keymaster

    Hello,

    Thank you for your message, regarding these warnings I would recommend selecting utf8mb4 (character set) and utf8mb4_unicode_ci (collation) as compatible and up to date alternatives to allow you to proceed with the restoration.

    Best,

    Paul

    #2134140
    slservice33
    Participant

    thanks, I will select utf8mb4_unicode_ci (collation) and worry no more !

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Migrating Database UTF8 error’ is closed to new replies.