- 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 ’一班’
您可能关注的文档
最近下载
- 2025年轻型民用无人驾驶航空器安全操控(多旋翼)理论备考试题及答案.docx
- 《煤矸石集料在制备建筑砂浆中应用指南》.docx VIP
- 高中语文文言文300实词+18虚词.pdf VIP
- 2023-2014年生猪养殖行业(申万Ⅲ)比率、现金流、发展、盈利、经营、偿债能力均值.doc VIP
- 无人机飞行管理.pptx VIP
- 2024《中班幼儿饮食行为现状调查—以S幼儿园为例》12000字.docx VIP
- 林业标准地调查表格.docx VIP
- 2026年高考第一次模拟考试:地理一模突破卷01(新高考全国通用)(考试版).docx VIP
- 标准地调查方法与原则.pptx VIP
- 专题03功能中的图像问题(共12种图像类型)讲义-2025版高考物理图像专题.pdf VIP
原创力文档

文档评论(0)