编码乱码解决问题.docVIP

  • 3
  • 0
  • 约 4页
  • 2017-06-07 发布于重庆
  • 举报
编码乱码解决问题

Php 乱码解决问题 制作者 : 李亮 飞警 E-mail : liliang8810@163.com 快速查找 client (修改下面的utf8 为gbk) [client] port 3306 [mysql] default-character-set gbk # SERVER SECTION # # # The following options will be read by the MySQL Server. Make sure that # you have installed the server correctly see above so it reads this # file. # [mysqld] # The TCP/IP Port the MySQL Server will listen on port 3306 #Path to installation directory. All paths are usually resolved relative to this. basedir C:\AppServ/MySQL #Path to the database root datadir C:\AppServ/MySQL/data/ # The default character set that will be used when a new schema or table is # created and no character set is defined default-character-set gbk character-set-server utf8 collation-server utf8_general_ci init_connect SET collation_connection utf8_general_ci init_connect SET NAMES utf8 重新启动 mysqlstart 修改系统时间 快速查找 zone 修改为 prc 子查询:一条查询中包含另外一条查询语句称为子查询 Select * from students where class ’一班’ and math select min math from students where class ’一班’

文档评论(0)

1亿VIP精品文档

相关文档