1.安装springboot工具
spring-boot-suite4
下载地址 https://spring.io/tools
2.下载myblog项目
github下载地址:https://github.com/ZHENFENG13/My-Blog
3.安装mysql5.7.23
3.1 下载(5.6以下版本不支持时间戳,不建议下载)
搜狐镜像站下载地址: http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.23-winx64.zip
3.2 安装
3.2.1 配置文件修改和环境变量配置
1.将下载下来的mysql压缩包解压到某个目录(我的是 D:\mysql-5.7.23)
2.在解压的路径下(D:\mysql-5.7.23)增加配置文件 my.ini
配置文件内容,如下(此时,当前路径下没有data包):
[mysqld]
port = 3306
basedir=D:\mysql-5.7.23
datadir=D:\mysql-5.7.23\data
max_connections=200
character-set-server=utf8
default-storage-engine=INNODB
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
[mysql]