当前位置:网站首页>MySQL 5 installation and modification free
MySQL 5 installation and modification free
2022-07-04 14:01:00 【Zhilan was born in a deep valley】
MySQL5 Installation and modification free
1、 modify my.ini file
[client]
# Set up 3308 port
port=3308
default-character-set=utf8
[mysql]
# Set up mysql Client default character set
default-character-set=utf8
[mysqld]
# Set up 3308 port
port=3308
# Set up mysql Installation directory
basedir="D:/mysql5/"
# Set up mysql Database data storage directory
datadir="D:/mysql5/Data/"
# The character set used by the server defaults to utf8
character-set-server=utf8
default-character-set=utf8
# The default storage engine that will be used when creating a new table
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
# Maximum connections allowed
max_connections=200
query_cache_size=0
table_cache=256
tmp_table_size=5M
thread_cache_size=8
myisam_max_sort_file_size=100G
myisam_max_extra_sort_file_size=100G
myisam_sort_buffer_size=8M
key_buffer_size=8M
read_buffer_size=64K
read_rnd_buffer_size=256K
sort_buffer_size=212K
innodb_additional_mem_pool_size=2M
innodb_flush_log_at_trx_commit=1
2、 Modify other configuration files


Make sure that the port port And my.ini The configuration file is consistent
3、 modify windows Batch command


"D:\mysql5\bin\mysqld" --defaults-file="D:\mysql5\my.ini" --console
The path remains correct
边栏推荐
- .Net之延迟队列
- Interview disassembly: how to check the soaring usage of CPU after the system goes online?
- 华昊中天冲刺科创板:年亏2.8亿拟募资15亿 贝达药业是股东
- C#基础深入学习一
- The Secretary of Homeland Security warned immigrants "not to embark on a dangerous journey"
- In 2022, it will be es2022 soon. Do you only know the new features of ES6?
- 美国土安全部长:国内暴力极端主义是目前美面临的最大恐怖主义威胁之一
- MySQL45讲——学习极客时间MySQL实战45讲笔记—— 06 | 全局锁和表锁_给表加个字段怎么有这么多阻碍
- Lick the dog until the last one has nothing (state machine)
- C语言中学生成绩管理系统
猜你喜欢

The only core indicator of high-quality software architecture

JVM series - stack and heap, method area day1-2

Haproxy high availability solution

Distributed base theory

OPPO Find N2产品形态首曝:补齐各项短板

ViewBinding和DataBinding的理解和区别

Applet live + e-commerce, if you want to be a new retail e-commerce, use it!

好博医疗冲刺科创板:年营收2.6亿 万永钢和沈智群为实控人

DGraph: 大规模动态图数据集

高质量软件架构的唯一核心指标
随机推荐
HAProxy高可用解决方案
C語言宿舍管理查詢軟件
Qt如何实现打包,实现EXE分享
FS4059C是5V输入升压充电12.6V1.2A给三节锂电池充电芯片 输入小电流不会拉死,温度60°建议1000-1100MA
30: Chapter 3: develop Passport Service: 13: develop [change / improve user information, interface]; (use * * * Bo class to accept parameters, and use parameter verification)
MongoDB常用28条查询语句(转)
How to choose a technology stack for web applications in 2022
Variable promotion and function promotion in JS
Flet tutorial 03 basic introduction to filledbutton (tutorial includes source code) (tutorial includes source code)
Flet教程之 03 FilledButton基础入门(教程含源码)(教程含源码)
JVM series - stack and heap, method area day1-2
【Antd踩坑】Antd Form 配合Input.Group时出现Form.Item所占据的高度不对
SQL language
golang fmt.printf()(转)
.NET 使用 redis
E-week finance | Q1 the number of active people in the insurance industry was 86.8867 million, and the licenses of 19 Payment institutions were cancelled
C语言宿舍管理查询软件
Oracle was named the champion of Digital Innovation Award by Ventana research
C#基础补充
Scrapy 框架学习