Giorgio1
New Pleskian
I upgraded to MariaDB 10.1 (CentOS 7.4, Plesk Onyx 17.5.3) following this tutorial and I would like to know if these settings in my.cnf file are ok (on my server there are websites in italian, english and polish languages).
I set these values in my.cnf:
restarted the service of mariadb and now with the command:
I have:
Before I had:
Are these new settings ok? Is it safe to change them after some days (I mean after some days of Wordpress websites running with the previous configuration of mariadb)?
Thanks for any suggestion.
I set these values in my.cnf:
Code:
[mysqld]
character-set-server = utf8
collation-server = utf8_general_ci
skip-character-set-client-handshake
restarted the service of mariadb and now with the command:
Code:
MariaDB [psa]> show variables like 'char%'; show variables like 'collation%';
I have:
Code:
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
+----------------------+-----------------+
| Variable_name | Value |
+----------------------+-----------------+
| collation_connection | utf8_general_ci |
| collation_database | utf8_general_ci |
| collation_server | utf8_general_ci |
+----------------------+-----------------+
3 rows in set (0.00 sec)
Before I had:
Code:
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
+----------------------+-------------------+
| Variable_name | Value |
+----------------------+-------------------+
| collation_connection | utf8_general_ci |
| collation_database | utf8_general_ci |
| collation_server | latin1_swedish_ci |
+----------------------+-------------------+
Are these new settings ok? Is it safe to change them after some days (I mean after some days of Wordpress websites running with the previous configuration of mariadb)?
Thanks for any suggestion.