解压版mysql安装

步骤如下:

1、下载安装包

2、在环境变量中配置安装包的bin路径

3、修改安装包下的my-default.ini。

修改basedir和datadir的值为解压文件对应的路径,port和 server_id的值保持默认即可,不需要修改。port默认为3306

# These are commonly set, remove the # and set as required.
basedir = E:MysqlMySQL Server 5.6mysql-5.6.24-win32
datadir = E:MysqlMySQL Server 5.6mysql-5.6.24-win32data
# port = .....
# server_id = .....

4 进入到解压路径下的bin目录,执行mysqld -install

5 同样的路径执行net start mysql。

6 启动成功后,用root账号登陆,没有密码

原文地址:https://www.cnblogs.com/wflxz/p/5772345.html