Set Hue uses UTF8 collation and character set


mysql> CREATE DATABASE hue COLLATE = ‘utf8_general_ci’;
ERROR 1007 (HY000): Can’t create database ‘hue’; database exists
mysql> SELECT * FROM INFORMATION_SCHEMA.SCHEMATA;
+————–+——————–+—————————-+————————+———-+
| CATALOG_NAME | SCHEMA_NAME | DEFAULT_CHARACTER_SET_NAME | DEFAULT_COLLATION_NAME | SQL_PATH |
+————–+——————–+—————————-+————————+———-+
| NULL | information_schema | utf8 | utf8_general_ci | NULL |
| NULL | hue | utf8 | utf8_general_ci | NULL |
+————–+——————–+—————————-+————————+———-+
2 rows in set (0.00 sec)

mysql> ALTER DATABASE hue COLLATE = ‘utf8_general_ci’;
Query OK, 1 row affected (0.00 sec)

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s