当前位置:网站首页>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
边栏推荐
猜你喜欢

如何在 2022 年为 Web 应用程序选择技术堆栈

Detailed explanation of Fisher information quantity detection countermeasure sample code

392. 判断子序列

德明利深交所上市:市值31亿 为李虎与田华夫妻档

CommVault cooperates with Oracle to provide metallic data management as a service on Oracle cloud

英视睿达冲刺科创板:年营收4.5亿 拟募资9.79亿

Redis —— How To Install Redis And Configuration(如何快速在 Ubuntu18.04 与 CentOS7.6 Linux 系统上安装 Redis)

数据库公共字段自动填充

华昊中天冲刺科创板:年亏2.8亿拟募资15亿 贝达药业是股东

一次 Keepalived 高可用的事故,让我重学了一遍它
随机推荐
XML入门一
C语言职工管理系统
英视睿达冲刺科创板:年营收4.5亿 拟募资9.79亿
自主工业软件的创新与发展
C array supplement
Five "potential errors" in embedded programming
Web knowledge supplement
常见 content-type对应表
.Net之延迟队列
C language Dormitory Management Query Software
HAProxy高可用解决方案
舔狗舔到最后一无所有(状态机)
Go 语言入门很简单:Go 实现凯撒密码
面试拆解:系统上线后Cpu使用率飙升如何排查?
Detailed explanation of Fisher information quantity detection countermeasure sample code
Summary of recent days (non-technical article)
C语言程序设计选题参考
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
Scrapy 框架学习
Huahao Zhongtian sprint Technology Innovation Board: perte annuelle de 280 millions de RMB, projet de collecte de fonds de 1,5 milliard de Beida Pharmaceutical est actionnaire