Home > Database > Mysql Tutorial > mysql cmd 乱码

mysql cmd 乱码

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 14:57:46
Original
1443 people have browsed it

描述: mysql 在navicat中不是乱码,在cmd 下查看是乱码; 原因分析: cmd 默认编码方式是gbk,而我的mysql 设置的编码方式是utf-8的; 因此在cmd 中执行 mysqlsetnamesgbk; 再查询,发现cmd中乱码问题得到了解决。 无 //mysql cmd 下乱码

描述:
mysql 在navicat中不是乱码,在cmd 下查看是乱码;
原因分析:
cmd 默认编码方式是gbk,而我的mysql 设置的编码方式是utf-8的;
因此在cmd 中执行 mysql> set names gbk;
再查询,发现cmd 中乱码问题得到了解决。 mysql cmd 乱码 mysql cmd 乱码 mysql cmd 乱码
//mysql cmd 下乱码
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template