一、下载
二、解压
unzip test_db-master.zip
三、安装
cd test_db-master
mysql -t
+-----------------------------+
| INFO |
+-----------------------------+
| CREATING DATABASE STRUCTURE |
+-----------------------------+
+------------------------+
| INFO |
+------------------------+
| storage engine: InnoDB |
+------------------------+
+---------------------+
| INFO |
+---------------------+
| LOADING departments |
+---------------------+
+-------------------+
| INFO |
+-------------------+
| LOADING employees |
+-------------------+
+------------------+
| INFO |
+------------------+
| LOADING dept_emp |
+------------------+
+----------------------+
| INFO |
+----------------------+
| LOADING dept_manager |
+----------------------+
+----------------+
| INFO |
+----------------+
| LOADING titles |
+----------------+
+------------------+
| INFO |
+------------------+
| LOADING salaries |
+------------------+
+---------------------+
| data_load_time_diff |
+---------------------+
| 00:00:22 |
+---------------------+
四、内容
departments:9条数据;
dept_emp:331603条数据;
dept_manager:24条数据;
employees:300024条数据;
salaries:2844047条数据;
titles:443308条数据;
疑问
更多人说表名要使用单数,但是官方给的测试数据库是复数命名。