本文记录了Mysql 5.7.21安装配置方法,具体内容如下 1.下载 下载地址 解压到自己喜欢的一个位置即可(目录中不要包含中文) 如:D:\Program Files\ 2.系统环境变量配置 (1)新
本文记录了Mysql 5.7.21安装配置方法,具体内容如下
1.下载
下载地址
解压到自己喜欢的一个位置即可(目录中不要包含中文)
如:D:\Program Files\
2.系统环境变量配置
(1)新增系统变量
变量名:mysql_HOME
变量值:Mysql解压目录,如D:\Program Files\mysql-5.7.21-winx64
(2)追加PATH
;%MYSQL_HOME%\bin;
3.配置my.ini文件
在解压根目录新建一个my.ini的文件
# For advice on how to change settings please see
# Http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.
[mysqld]
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
# These are commonly set, remove the # and set as required.
basedir = "D:\\Program Files\mysql-5.7.21-winx64"
datadir = "D:\\Program Files\mysql-5.7.21-winx64\data"
port = 3306
character_set_server = utf8
# server_id = .....
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
--结束END--
本文标题: mysql 5.7.21 winx64绿色版安装配置方法图文教程
本文链接: https://lsjlt.com/news/51249.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0