Home > Database > Mysql Tutorial > 解决mysql控制台查询数据乱码的问题,有图有真相_MySQL

解决mysql控制台查询数据乱码的问题,有图有真相_MySQL

WBOY
Release: 2016-06-01 13:14:30
Original
811 people have browsed it

在mysql 控制台当

当为gbk的时候查询的数据是汉字,如果不是则为乱码。 set names gbk; 那么查询出来的数据则为汉字

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template