mysql5.6.44免安装步骤

随便找了一篇博客,发现安装后无法启动mysql服务,后来又找了这一篇最后才成功了
http://www.manongjc.com/article/19151.html

别急着点开去看,这里我说下注意的地方:

1、我自己的my.ini,比链接多了字符编码设置。如果你下载的也是mysql5.6.44,可以直接复制下面代码,但是要注意文件路径,文件夹有空格的一定要用英文双引号括起来

# 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.6.44-winx64"
datadir = "D:\Program Files\mysql-5.6.44-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 

[client]
default-character-set=utf8 
[WinMySQLAdmin]
Server = "D:\Program Files\mysql-5.6.44-winx64\bin\mysqld.exe"

2、假如你启动服务不成功有执行mysqld --remove 删掉,最好重启机器。另外注意该链接2.5步骤,发现其他博客没有这一步,可能只是方式不同而已吧。以前没试过这种免安装方式。至于其他问题,还是自行百度吧。有什么见解可以留言,谢谢

©️2020 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客 返回首页
实付0元
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值