update: img
@ -196,8 +196,6 @@ nvm install 8.10.0
|
|||||||
查看当前使用的 nvm 版本:
|
查看当前使用的 nvm 版本:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nvm -v
|
|
||||||
|
|
||||||
nvm --version
|
nvm --version
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -6,9 +6,11 @@
|
|||||||
|
|
||||||
MySQL 下载地址:https://dev.mysql.com/downloads/mysql/
|
MySQL 下载地址:https://dev.mysql.com/downloads/mysql/
|
||||||
|
|
||||||
![](https://github.com/qianguyihao/Web/blob/master/img/20200415_1707.png)
|
![](http://img.smyhvae.com/20200415_1707.png)
|
||||||
|
|
||||||
|
|
||||||
|
![](http://img.smyhvae.com/20200415_1708.png)
|
||||||
|
|
||||||
![](https://github.com/qianguyihao/Web/blob/master/img/20200415_1708.png)
|
|
||||||
|
|
||||||
#### 步骤2、配置环境变量
|
#### 步骤2、配置环境变量
|
||||||
|
|
||||||
@ -60,26 +62,31 @@ Navicat Premium 软件是一种数据库管理的GUI软件,采用可视化的
|
|||||||
|
|
||||||
打开 Navicat Premium 软件,选择菜单栏「文件-新建连接-mysql」,然后选择如下配置,即可在本地新建一个数据库连接:
|
打开 Navicat Premium 软件,选择菜单栏「文件-新建连接-mysql」,然后选择如下配置,即可在本地新建一个数据库连接:
|
||||||
|
|
||||||
![](https://github.com/qianguyihao/Web/blob/master/../img/20200416_1157.png)
|
![](http://img.smyhvae.com/20200416_1157.png)
|
||||||
|
|
||||||
|
|
||||||
2、选中连接后,右键新建数据库:
|
2、选中连接后,右键新建数据库:
|
||||||
|
|
||||||
![](https://github.com/qianguyihao/Web/blob/master/../img/20200416_1159.png)
|
![](http://img.smyhvae.com/20200416_1159.png)
|
||||||
|
|
||||||
|
![](http://img.smyhvae.com/20200416_1127.png)
|
||||||
|
|
||||||
![](https://github.com/qianguyihao/Web/blob/master/../img/20200416_1127.png)
|
|
||||||
|
|
||||||
3、选中数据库之后,新建表 `qiangu_student_table`:
|
3、选中数据库之后,新建表 `qiangu_student_table`:
|
||||||
|
|
||||||
![](https://github.com/qianguyihao/Web/blob/master/../img/20200416_1138.png)
|
![](http://img.smyhvae.com/20200416_1138.png)
|
||||||
|
|
||||||
|
|
||||||
4、在表中添加字段:
|
4、在表中添加字段:
|
||||||
|
|
||||||
![](https://github.com/qianguyihao/Web/blob/master/../img/20200416_1202.png)
|
![](http://img.smyhvae.com/20200416_1202.png)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
5、字段建好后,开始在表中插入数据:
|
5、字段建好后,开始在表中插入数据:
|
||||||
|
|
||||||
![](https://github.com/qianguyihao/Web/blob/master/../img/20200416_1259.png)
|
![](http://img.smyhvae.com/20200416_1259.png)
|
||||||
|
|
||||||
|
|
||||||
### 导入外部 sql 文件
|
### 导入外部 sql 文件
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 240 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 262 KiB |
Before Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 205 KiB |
Before Width: | Height: | Size: 232 KiB |
Before Width: | Height: | Size: 129 KiB |
Before Width: | Height: | Size: 306 KiB |
Before Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 231 KiB |
Before Width: | Height: | Size: 251 KiB |
Before Width: | Height: | Size: 430 KiB |
Before Width: | Height: | Size: 168 KiB |
Before Width: | Height: | Size: 189 KiB |
Before Width: | Height: | Size: 189 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 178 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 17 KiB |