Skip to content

Instantly share code, notes, and snippets.

@jjasghar
Created August 13, 2014 14:44
Show Gist options
  • Save jjasghar/de052fafe641f79efc8b to your computer and use it in GitHub Desktop.
Save jjasghar/de052fafe641f79efc8b to your computer and use it in GitHub Desktop.
mysql> show variables like "%character%";show variables like "%collation%";
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | latin1 |
| 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 | latin1_swedish_ci |
| collation_server | utf8_general_ci |
+----------------------+-------------------+
3 rows in set (0.00 sec)
mysql> Bye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment