Home >Database >Mysql Tutorial >mysql-怎样修改数据库的默认编码,想把它改成utf8的?

mysql-怎样修改数据库的默认编码,想把它改成utf8的?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:35:191387browse

mysql编码utf-8数据库

+--------------------------+----------------------------------------------+
| Variable_name | Value |
+--------------------------+----------------------------------------------+
| character_set_client | gbk |
| character_set_connection | gbk |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | gbk |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | J:\MySql\mysql-5.6.27-winx64\share\charsets\ |
+--------------------------+----------------------------------------------+

这是现在的编码格式?
有哪些步骤,是在命令行(mysql.exe)改吗?在可视化管理界面能改吗?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn