Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-07 16:25:58
Original
905 people have browsed it

解决mysql控制台查询数据乱码的问题,有图有真相 在mysql 控制台当 当为gbk的时候查询的数据是汉字,如果不是则为乱码。 set names gbk; 那么查询出来的数据则为汉字

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

在mysql  控制台当


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

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!