当前位置:网站首页>MySQL5免安装修改
MySQL5免安装修改
2022-07-04 12:48:00 【芝兰生于深谷】
MySQL5免安装修改
1、修改my.ini文件
[client]
# 设置3308端口
port=3308
default-character-set=utf8
[mysql]
# 设置mysql客户端默认字符集
default-character-set=utf8
[mysqld]
# 设置3308端口
port=3308
# 设置mysql的安装目录
basedir="D:/mysql5/"
# 设置mysql数据库的数据的存放目录
datadir="D:/mysql5/Data/"
# 服务端使用的字符集默认为utf8
character-set-server=utf8
default-character-set=utf8
# 创建新表时将使用的默认存储引擎
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
# 允许最大连接数
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、修改其它配置文件


确保端口port与my.ini配置文件保持一致
3、修改windows批处理命令


"D:\mysql5\bin\mysqld" --defaults-file="D:\mysql5\my.ini" --console
路径保持正确
边栏推荐
- It is six orders of magnitude faster than the quantum chemical method. An adiabatic artificial neural network method based on adiabatic state can accelerate the simulation of dual nitrogen benzene der
- 易周金融 | Q1保险行业活跃人数8688.67万人 19家支付机构牌照被注销
- Dgraph: large scale dynamic graph dataset
- Source code compilation and installation of MySQL
- 硬件基础知识-二极管基础
- Runc hang causes the kubernetes node notready
- C語言宿舍管理查詢軟件
- "Tips" to slim down Seurat objects
- XML入门一
- 2022KDD预讲 | 11位一作学者带你提前解锁优秀论文
猜你喜欢
Three schemes to improve the efficiency of MySQL deep paging query

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

Flet tutorial 03 basic introduction to filledbutton (tutorial includes source code) (tutorial includes source code)

CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021

2022g3 boiler water treatment examination question simulation examination question bank and simulation examination

8 expansion sub packages! Recbole launches 2.0!

Oracle was named the champion of Digital Innovation Award by Ventana research

One of the solutions for unity not recognizing riders

数据库公共字段自动填充

Redis - how to install redis and configuration (how to quickly install redis on ubuntu18.04 and centos7.6 Linux systems)
随机推荐
It is six orders of magnitude faster than the quantum chemical method. An adiabatic artificial neural network method based on adiabatic state can accelerate the simulation of dual nitrogen benzene der
CTF competition problem solution STM32 reverse introduction
DGraph: 大规模动态图数据集
Distributed base theory
美国土安全部部长警告移民“不要踏上危险的旅程”
C language dormitory management query software
CVPR 2022 | 大幅减少零样本学习所需的人工标注,提出富含视觉信息的类别语义嵌入(源代码下载)...
Node の MongoDB安装
30:第三章:开发通行证服务:13:开发【更改/完善用户信息,接口】;(使用***BO类承接参数,并使用了参数校验)
结合案例:Flink框架中的最底层API(ProcessFunction)用法
Fs4056 800mA charging IC domestic fast charging power IC
The only core indicator of high-quality software architecture
Secretary of Homeland Security of the United States: domestic violent extremism is one of the biggest terrorist threats facing the United States at present
光环效应——谁说头上有光的就算英雄
C language programming topic reference
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
C#基础深入学习二
Scrapy 框架学习
面试拆解:系统上线后Cpu使用率飙升如何排查?
Commvault 和 Oracle 合作,在 Oracle 云上提供 Metallic数据管理即服务