Hi there.
I've just created empty MySQL zabbix DB using
then restored DB using sql file from another server (create DB not included in script).
After restoring DB and checking SELECT @@character_set_database, @@collation_database; shows:
Seems charset is included in .sql itself. Shall I convert DB to utf8umb4 anyway or leave it as it is?
I've just created empty MySQL zabbix DB using
Code:
create database zabbix character set utf8mb4 collate utf8mb4_bin;
Code:
mysql -uroot -p zabbix < /somepath/somefile.sql
Code:
MariaDB [zabbix]> SELECT @@character_set_database, @@collation_database; +--------------------------+----------------------+ | @@character_set_database | @@collation_database | +--------------------------+----------------------+ | utf8mb3 | utf8mb3_bin | +--------------------------+----------------------+
Comment