[wp-trac] [WordPress Trac] #33122: DB_CHARSET in config should be set to utf8mb4 if mysql version >5.5.3

WordPress Trac noreply at wordpress.org
Tue May 24 03:47:28 UTC 2016


#33122: DB_CHARSET in config should be set to utf8mb4 if mysql version >5.5.3
--------------------------+----------------------
 Reporter:  laserjobs     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Database      |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by pento):

 * status:  new => closed
 * version:  4.2.3 =>
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 On new WordPress installs, `DB_CHARSET` will be set to `utf8mb4`.

 On existing WordPress installs, WordPress will automatically upgrade the
 tables to `utf8mb4`, and when `DB_CHARSET` is defined as `utf8`, it will
 automatically switch to `utf8mb4` instead.

 `DB_CHARSET` is left as `utf8` in `wp-config.php`, because WordPress
 doesn't write to `wp-config.php` outside of the setup process.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33122#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list