Akeeba Backup for WordPress

#23911 Akeeba for WP creates its tables using utf8_general_ci despite all our attempts to set utf8mb4_unicode_ci

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
PHP version
Akeeba Backup version

Latest post by on Thursday, 14 January 2016 17:20 CST

 Hi, we attempted to set up our WP to use utf8mb4 as charset and utf8mb4_unicode_ci as collation by taking the following steps:

wp-config has been modified:
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8mb4');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', 'utf8mb4_unicode_ci');

/etc/my.cnf contains:
#default_character_set               = utf8mb4

default_character_set               = utf8mb4

character-set-server                = utf8mb4
collation-server                    = utf8mb4_unicode_ci
character-set-client-handshake      = FALSE
init_connect                        = 'SET NAMES utf8mb4'

(fwiw, we're using cPanel packaged MariaDB at a set of LiquidWeb servers)

So, we expected Akeeba to create its tables informed by defines in wp-config (and failing that had hoped that our cnf settings would have forced the matter...)...

What actually happened is that the following tables were created using utf8_general_ci


We would like to know if
a) it is likely OK to alter these tables post-install and
b) it is possible to have utf8mb4/utf8mb4_unicode_ci autodetected from wp-config (or from server settings, either way...)? (we would rather not have to make changes every time we install AKeeba)

Cheers =)

Akeeba Staff
Hello Kathy,

it's currently on our to-do list. We are currently working on it.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!