欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

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

程序员文章站 2022-05-20 15:18:31
...
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)改吗?在可视化管理界面能改吗?