• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved collation_database

dyrer

Basic Pleskian
+--------------------------+--------------------+
| Variable_name | Value |
+--------------------------+--------------------+
| character_set_client | utf8mb4 |
| character_set_connection | utf8mb4 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8mb4 |
| character_set_server | utf8mb4 |
| character_set_system | utf8 |
| collation_connection | utf8mb4_unicode_ci |
| collation_database | utf8_general_ci |
| collation_server | utf8mb4_unicode_ci |
+--------------------------+--------------------+

Hi
How can also switch collation_database to utf8mb4_unicode_ci
 
Note, that utf8mb4 Character Set (4-Byte UTF-8 Unicode Encoding) support is available starting from the MySQL 5.5.3 version.
'utf8mb4_unicode_520_ci' collation present by default there.
 
That's strange. I just imported a database that used utf8mb4 into a Maria DB 10.1. Maybe the software manufacturer of the application can help to identify what's wrong? I doubt that this is a database issue.
 
systemctl list-unit-files | grep enabled | grep -iE '(sql|db)'


Code:
mariadb.service                          enabled
mysql.service                            enabled
mysqld.service                           enabled

Is this correct running three services?
 
I had to add into /etc/mysql/conf.d/my.cnf

Code:
[mysqld]
innodb_large_prefix=true
innodb_file_format=barracuda
innodb_file_per_table=true


my complete my.cnf is
Code:
[client]
default-character-set = utf8mb4

[mysql]
default-character-set = utf8mb4

[mysqld]
init-connect='SET NAMES utf8mb4'
collation_server=utf8mb4_unicode_ci
character_set_server=utf8mb4
skip-character-set-client-handshake

innodb_large_prefix=true
innodb_file_format=barracuda
innodb_file_per_table=true
 
Yes solved.
No needed to add utfmb8, is my preference
This solves problem for Drupal, and Backdrop CMS (is a drupal fork)
 
Back
Top