• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question how config mariandb for utf8mb4

shinichi kudo

Basic Pleskian
while installing moodle it aask about this warning:

mysql_full_unicode_supportif this test fails, it indicates a potential problem
The current setup of MySQL or MariaDB is using 'utf8'. This character set does not support four byte characters which include some emoji. Trying to use these characters will result in an error when updating a record, and any information being sent to the database will be lost. Please consider changing your settings to 'utf8mb4'. See the documentation for full details.

how i do it ?
 
I think that you need to upgrade MySQL or MariaDB to a higher version 10.x, where 'utf8mb4' collation is present by default.
 
I USE

Plesk Obsidian
Version 18.0.39 Update #1

with
Mariadb 10.5

and i edit the my.ini like this

Code:
[client]
port=8306
default-character-set=utf8mb4
plugin_dir=C:\\path\\to\\plesk\\MySQL\\lib\\plugin
[PleskSQLServer]
port=8306
character-set-server=utf8mb4
default-storage-engine=INNODB
query_cache_size=8M
table_open_cache=32
tmp_table_size=7M
thread_cache_size=32
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=2M
key_buffer_size=2M
read_buffer_size=1M
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=16M
innodb_log_file_size=10M
max_connections=300
max_allowed_packet=1M
net_buffer_length=4K
old_passwords=0
connect_timeout=20
basedir=C:\\path\\to\\plesk\\MySQL
datadir=C:\\path\\to\\plesk\\MySQL\\Data
tmpdir=C:\\path\\to\\plesk\\MySQL\\Data

[mysqld]
innodb_file_format = Barracuda
innodb_file_per_table = 1
innodb_large_prefix = true
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
skip-character-set-client-handshake = FALSE
init_connect = "SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci"

[mysql]
default-character-set = utf8mb4

want to know also if i want to use the maria shell what is the password i have to use
 
Back
Top