Mysql 默认字符集设置方法(免安装版)
时间:2024-01-24 10:43:31
以mysql-noinstall-5.0.22-win32为例,解压缩后会看到mysql-5.0.22-win32文件夹下面,有五个ini格式的文件,把my-medium.ini文件拷贝一份,改名为my.ini,打开my.ini文件,在[client]、[mysqld]下面加上default-character-set=gb2312,其含义就是把gb2312设置为数据库的默认字符集。设置完毕后需要重新启动myqsl服务。
同理,可以把其他字符集设置成默认字符集。
标签:Mysql,默认字符集
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Python Flask-Login实现用户会话管理
2023-06-05 13:13:50
![](https://img.aspxhome.com/file/2023/9/90589_0s.png)
Python3利用Qt5实现简易的五子棋游戏
2022-03-31 20:39:12
mysql 5.7.23 安装配置方法图文教程
2024-01-14 02:58:36
![](https://img.aspxhome.com/file/2023/3/119713_0s.jpg)
Matplotlib中%matplotlib inline如何使用
2021-11-22 15:17:41
![](https://img.aspxhome.com/file/2023/4/89314_0s.png)
python的类变量和成员变量用法实例教程
2023-10-26 01:09:58
mysql 5.6.23 安装配置环境变量教程
2024-01-19 11:58:14
![](https://img.aspxhome.com/file/2023/7/116777_0s.png)
python爬虫简单的添加代理进行访问的实现代码
2022-03-19 03:44:47
![](https://img.aspxhome.com/file/2023/2/133872_0s.jpg)
人工智能Text Generation文本生成原理示例详解
2022-01-16 22:45:28
MySQL数据库优化之索引实现原理与用法分析
2024-01-27 08:12:37
![](https://img.aspxhome.com/file/2023/9/112629_0s.png)
python将unicode和str互相转化的实现
2023-07-17 21:36:34
最新python 字符串数组互转问题
2023-07-07 18:34:06
Golang实现字符串倒序的几种解决方案
2024-01-30 20:01:37
php实现mysql事务处理的方法
2023-11-10 10:42:39
深入了解Python中Lambda函数的用法
2023-02-03 10:09:01
pytorch交叉熵损失函数的weight参数的使用
2021-02-27 15:52:31
![](https://img.aspxhome.com/file/2023/3/101703_0s.jpg)
VTK与Python实现机械臂三维模型可视化详解
2021-11-03 19:36:02
![](https://img.aspxhome.com/file/2023/4/130534_0s.jpg)
页面设计之个性元素与共性元素
2008-07-17 12:36:00
![](https://img.aspxhome.com/file/UploadPic/20087/17/200871712436841s.jpg)
Python中的异常处理讲解
2023-01-29 11:22:57
![](https://img.aspxhome.com/file/2023/5/107825_0s.jpg)
很有意思的SQL多行数据拼接
2024-01-28 02:08:56
![](https://img.aspxhome.com/file/2023/2/110992_0s.jpg)
Golang与python线程详解及简单实例
2023-03-13 18:55:25