Home >Database >Mysql Tutorial >mysql查找出来的数据中文乱码的解决方法_MySQL

mysql查找出来的数据中文乱码的解决方法_MySQL

WBOY
WBOYOriginal
2016-06-01 13:06:401111browse

mysql查找出来的数据中文乱码的解决方法

by 伍雪颖
select前加上语句set names 'gbk';或者set names 'utf8';
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