Town Yard text:
The Confucian School of the practical and practical, line Buddhism Purdue sentient beings, the monastic Kangsheng fidelity, understanding of the easy to change the image. To science and technology to shine a good law, the achievement of a conscience blog.
______________________________________________________________________________________________________
Operating System:ubuntukylin 16.04 LTS 64bit
Mysql:ver 14.14 Distrib 5.7.17, for Linux (x86_64) using Editline Wrapper
Step1:
Landing
[Email protected]:~$ mysql-u root-p
Enter Password:welcome to the MySQL Monitor. Commands End With; or \g.your MySQL connection ID is 10Server version:5.7.17-0ubuntu0.16.04.1 (Ubuntu) Copyright (c), Oracle and/o R its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names trademarks of their respectiveowners. Type ' help ', ' or ' \h ' for help. Type ' \c ' to clear the current input statement.
Step2:
Viewing the default encoding
Mysql> Show variables like ' character% ';
+--------------------------+----------------------------+| 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 | latin1 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ |+--- -----------------------+----------------------------+8 rows in set (0.01 sec)
Step3:
Exit
Mysql> Exitbye[email protected]:~$
______________________________________________________________________________________________________
If you think this blog post can be improved or the content is outdated, please comment, I will think carefully.
Note: This blog post is only used for scientific research, if the infringement of your interests, please inform me, I will make the appropriate treatment.
This article is from the "calm mind like water, chi just like the pan." Blog, be sure to keep this source http://xinjingzhigang.blog.51cto.com/12262830/1905524
mysql5.7 base View default encoding for MySQL database