Created
December 14, 2017 09:58
-
-
Save jpzhu/7b37c4d69179fd42cf4a4666f8c2dad8 to your computer and use it in GitHub Desktop.
mysql chinese character
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> SHOW VARIABLES LIKE 'char%'; | |
+--------------------------+----------------------------+ | |
| Variable_name | Value | | |
+--------------------------+----------------------------+ | |
| character_set_client | latin1 | | |
| character_set_connection | latin1 | | |
| character_set_database | latin1 | | |
| character_set_filesystem | binary | | |
| character_set_results | latin1 | | |
| character_set_server | latin1 | | |
| character_set_system | latin1 | | |
| character_sets_dir | /usr/share/mysql/charsets/ | | |
+--------------------------+----------------------------+ | |
8 rows in set (0.01 sec) | |
修改相应编码 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment