跳转到正文

Docker 验证证据 ​

TiDB 已验证 · Verified 🕒 快照采集: 2026-08-23 15:15:53 UTC
🐳 镜像:server:由 TIDB_IMAGE 锁定
🛠️ 关键工具:tidb-servermysql
🚀 运行/交互MySQL 协议:CREATE TABLE → INSERT → SELECT → SHOW TABLES → EXPLAIN
docker-session.out.txt
$ mysql -h server -P 4000 -uroot -Nse 'SELECT 1'
1

$ mysql -h server -P 4000 -uroot -e fixed-session.sql
id	name	score
3	Carol	40
1	Alice	30
Tables_in_hello
hello_items
id	estRows	task	access object	operator info
TableReader_7	3333.33	root		data:Selection_6
└─Selection_6	3333.33	cop[tikv]		ge(hello.hello_items.score, 30)
  └─TableFullScan_5	10000.00	cop[tikv]	table:hello_items	keep order:false, stats:pseudo

Released under the MIT License.