美文网首页
练习用 Mysql数据库

练习用 Mysql数据库

作者: RayRaymond | 来源:发表于2020-05-25 13:44 被阅读0次
  1. https://launchpad.net/test-db/+download 下载
    下载界面

需要修改employees.sql
set storage_engine = InnoDB;
改为set default_storage_engine = InnoDB;

修改三处
  1. 在下载解压后的目录打开cmd
    可以在解压后的目录地址栏输入cmd直接打开

  2. 运行

mysql -uroot -p你的密码 -t < employees.sql

安装

  1. 如果要安装两个大型分区表,请运行
mysql -uroot -p你的密码 -t < employees_partitioned.sql
  1. 安装后,可以运行以下其中一项测试
mysql -t < test_employees_md5.sql
# OR
mysql -t < test_employees_sha.sql

Done Check

相关文章

网友评论

      本文标题:练习用 Mysql数据库

      本文链接:https://www.haomeiwen.com/subject/cilyahtx.html