当前位置:网站首页>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
边栏推荐
- WS2811 M是三通道LED驱动控制专用电路彩灯带方案开发
- C array supplement
- 英视睿达冲刺科创板:年营收4.5亿 拟募资9.79亿
- Redis —— How To Install Redis And Configuration(如何快速在 Ubuntu18.04 与 CentOS7.6 Linux 系统上安装 Redis)
- 2022年起重机械指挥考试模拟100题模拟考试平台操作
- MySQL8版本免安装步骤教程
- 基于链表管理的单片机轮询程序框架
- Lick the dog until the last one has nothing (state machine)
- Introduction to XML II
- xshell/bash/zsh 等终端鼠标滚轮乱码问题(转)
猜你喜欢
MySQL 45 lecture - learn the actual combat notes of MySQL in Geek time 45 lecture - 06 | global lock and table lock_ Why are there so many obstacles in adding a field to the table
2022 Shandong Province safety officer C certificate examination question bank and online simulation examination
分布式BASE理论
2022G3锅炉水处理考试题模拟考试题库及模拟考试
2022年起重机械指挥考试模拟100题模拟考试平台操作
JVM系列——栈与堆、方法区day1-2
ASP. Net core introduction I
2022 hoisting machinery command examination simulation 100 questions simulation examination platform operation
Interviewer: what is the internal implementation of hash data type in redis?
Byte interview algorithm question
随机推荐
remount of the / superblock failed: Permission denied
C foundation in-depth learning II
动画与过渡效果
C语言宿舍管理查询软件
The Secretary of Homeland Security warned immigrants "not to embark on a dangerous journey"
ASP. Net core introduction I
Install Trinity and solve error reporting
. Net delay queue
華昊中天沖刺科創板:年虧2.8億擬募資15億 貝達藥業是股東
C语言集合运算
Flet tutorial 03 basic introduction to filledbutton (tutorial includes source code) (tutorial includes source code)
SQL language
MySQL5免安装修改
Fs7867s is a voltage detection chip used for power supply voltage monitoring of digital system
js中的变量提升和函数提升
国内酒店交易DDD应用与实践——代码篇
Dgraph: large scale dynamic graph dataset
好博医疗冲刺科创板:年营收2.6亿 万永钢和沈智群为实控人
字节面试算法题
Source code compilation and installation of MySQL