1 Star 0 Fork 0

逸扬/leetcode-hub-mysql

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

leetcode-hub-mysql

基于 mysql8.0.x + mysql-test-run 的 leetcode 练习仓库。

  • t 存放 mysql-test-run 所需的 .test 文件。
  • r 存放 mysql-test-run 所需的 .result 文件。

环境信息

$ uname -a
Linux admin0-VirtualBox 5.13.0-28-generic #31~20.04.1-Ubuntu SMP Wed Jan 19 14:08:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ ./bin/mysqltest --version
./bin/mysqltest  Ver 8.0.28 for Linux on x86_64 (MySQL Community Server - GPL)

使用方法

项目运行依赖 mysql-test-run 环境(windows 环境搭建较复杂,建议基于 linux 环境搭建)。

mysql-test-run 官方文档: https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_MYSQL_TEST_RUN.html

普通的二进制包是没有 mysql-test 的,需要额外下载 Test Suite,下载链接: https://dev.mysql.com/downloads/mysql/

Compressed TAR Archive MD5
mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz 5be32f68d6859aace1eb61cea1d00bff
mysql-test-8.0.28-linux-glibc2.12-x86_64.tar.xz 1aa16282acb18eb7cc74ea024989058b
# 解压压缩包
$ tar xvf mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz
$ tar xvf mysql-test-8.0.28-linux-glibc2.12-x86_64.tar.xz

# clone 本项目到 /mysql-test/suite 目录
$ cd mysql-8.0.28-linux-glibc2.12-x86_64/mysql-test/suite/
$ git clone https://gitee.com/gdut_yy/leetcode-hub-mysql.git
$ cd ..

# 运行 mysql-test-run
$ ./mtr --suite leetcode-hub-mysql

(全文完)

空文件

简介

基于 mysql8.0.x + mysql-test-run 的 leetcode 练习仓库。 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gdut_yy/leetcode-hub-mysql.git
git@gitee.com:gdut_yy/leetcode-hub-mysql.git
gdut_yy
leetcode-hub-mysql
leetcode-hub-mysql
master

搜索帮助