Home > Database > Mysql Tutorial > mysql-5.6.14-winx64中文乱码问题_MySQL

mysql-5.6.14-winx64中文乱码问题_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:28:50
Original
1153 people have browsed it

bitsCN.com

mysql-5.6.14-winx64中文乱码问题

 

1.从MySQL官网下载了mysql-5.6.14-winx64版本的MySQL数据库,无需安装,解压了直接可以使用。

 

2.但是创建数据库后,添加中文数据不断出现乱码。

 

解决办法:

 

CREATE DATABASE my_misDEFAULT CHARACTER SET utf8DEFAULT COLLATE utf8_general_ci;
Copy after login

 

 

通过以上代码创建数据库,便可解决添加中文数据乱码问题。

 

mysql-5.6.14-winx64中文乱码问题_MySQL

 

bitsCN.com
Related labels:
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