Home  >  Article  >  Database  >  MYSQL编码的设置_MySQL

MYSQL编码的设置_MySQL

WBOY
WBOYOriginal
2016-06-01 13:08:42902browse

你是不是在被中文乱码所困扰???

那就往下看吧

如果你是windows的用户,先打开cmd.exe 打入命令 mysql 如果不行那就是环境变量有问题,把mysql的bin放到环境变量的path里

接下来就是在my.ini修改character-set-server=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