MySQL 8.0导入样例数据库employees

1、下载

https://launchpad.net/test-db/employees-db-1/1.0.6
在这里插入图片描述

2、导入

[root@node1 app]# cd employees_db/
[root@node1 employees_db]# ll
总用量 164492
-rw-r--r-- 1 root root       752 11月 11 12:59 Changelog
-rw-r--r-- 1 root root      6460 11月 11 12:59 employees_partitioned2.sql
-rw-r--r-- 1 root root      7624 11月 11 12:59 employees_partitioned3.sql
-rw-r--r-- 1 root root      5660 11月 11 12:59 employees_partitioned.sql
-rw-r--r-- 1 root root      3861 11月 11 12:59 employees.sql
-rw-r--r-- 1 root root       241 11月 11 12:59 load_departments.dump
-rw-r--r-- 1 root root  13828291 11月 11 12:59 load_dept_emp.dump
-rw-r--r-- 1 root root      1043 11月 11 12:59 load_dept_manager.dump
-rw-r--r-- 1 root root  17422825 11月 11 12:59 load_employees.dump
-rw-r--r-- 1 root root 115848997 11月 11 12:59 load_salaries.dump
-rw-r--r-- 1 root root  21265449 11月 11 12:59 load_titles.dump
-rw-r--r-- 1 root root      3889 11月 11 12:59 objects.sql
-rw-r--r-- 1 root root      2211 11月 11 12:59 README
-rw-r--r-- 1 root root      4455 11月 11 12:59 test_employees_md5.sql
-rw-r--r-- 1 root root      4450 11月 11 12:59 test_employees_sha.sql
[root@node1 employees_db]# vi employees.sql 
set default_storage_engine = InnoDB;
-- set storage_engine = MyISAM;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值