WordPress默认就是用utf8_general_ci这个排序规则(COLLATE),这个规则很通用,MariaDB肯定是支持的. CREATE DATABASE IF NOT EXISTS `wordpress` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
utf8是字符集,utf8_general_ci是排序规则,对应utf8还有其他排序规则。比如utf8_unicode_ci