当前位置:网站首页>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
边栏推荐
- OPPO Find N2产品形态首曝:补齐各项短板
- 2022 Shandong Province safety officer C certificate examination question bank and online simulation examination
- 2022年山东省安全员C证考试题库及在线模拟考试
- Scrapy 框架学习
- MySQL version 8 installation Free Tutorial
- 基于STM32+华为云IOT设计的酒驾监控系统
- JVM 内存布局详解,图文并茂,写得太好了!
- 2022危险化学品经营单位主要负责人练习题及模拟考试
- Redis —— How To Install Redis And Configuration(如何快速在 Ubuntu18.04 与 CentOS7.6 Linux 系统上安装 Redis)
- WS2818M是CPC8封装,是三通道LED驱动控制专用电路外置IC全彩双信号5V32灯可编程led灯带户外工程
猜你喜欢
随机推荐
HAProxy高可用解决方案
2022kdd pre lecture | 11 first-class scholars take you to unlock excellent papers in advance
Getting started with the go language is simple: go implements the Caesar password
逆向调试入门-PE结构-资源表07/07
2022g3 boiler water treatment examination question simulation examination question bank and simulation examination
golang fmt.printf()(转)
C basic supplement
C语言图书租赁管理系统
ASP. Net core introduction I
C language staff management system
C#基础深入学习一
. Net using redis
Samsung's mass production of 3nm products has attracted the attention of Taiwan media: whether it can improve the input-output rate in the short term is the key to compete with TSMC
锐成芯微冲刺科创板:年营收3.67亿拟募资13亿 大唐电信是股东
安装trinity、解决报错
C array supplement
Fs4056 800mA charging IC domestic fast charging power IC
DGraph: 大规模动态图数据集
go vendor 项目迁移到 mod 项目
SCM polling program framework based on linked list management








