-
Notifications
You must be signed in to change notification settings - Fork 66
Invalid mysql database collation, expected utf8 #14
Comments
The MySQL configuration file now enables UTF8 by default. ``` skip-character-set-client-handshake collation-server = utf8_unicode_ci character-set-server = utf8 ``` Reference http://dev.mysql.com/doc/refman/5.0/en/charset-server.html [ticket: #14]: Invalid mysql database collation, expected utf8.
@nikitinsm just pushed a branch which forces the MySQL DB to UTF8. Need to test things out but feel free to give it a try. |
It still latin1 fields caused of the mysql dump I think not my.ini config for t in $(mysql --user=zabbix --password=zabbix --database=zabbix -e "show tables";);do echo "Altering" $t;mysql --user=zabbix --password=zabbix --database=zabbix -e "ALTER TABLE $t CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;";done This solves problem you can add it after db dump is fully loaded |
Thanks Sergey, On Sat, Mar 14, 2015 at 11:44 PM, Sergey Nikitin notifications@github.com
|
BTW I have installed zabbix directly (without docker) from deb and DB is utf-8 |
Seems to be the aim is utf8 database, but some reason it is latin instead.
The text was updated successfully, but these errors were encountered: