lmdb
(“One day my life will end, and you will wear the crown.")
3
修改了playground的参数
[tidb@msyql8-ocp ~]$ cat tidb_bootstrap.toml
new_collations_enabled_on_first_bootstrap = false
[tidb@msyql8-ocp ~]$
[tidb@msyql8-ocp ~]$
[tidb@msyql8-ocp ~]$ tiup --tag downstream playground --host 192.168.2.82 --db 1 --pd 1 --kv 1 --tiflash 0 --ticdc 0 --db.config=/home/tidb/tidb_bootstrap.toml
Note: Version constraint is resolved to v8.5.2. If you'd like to use other versions:
Use exact version: tiup playground v7.1.0
Use version range: tiup playground ^5
Use nightly: tiup playground nightly
Start pd instance: v8.5.2
Start tikv instance: v8.5.2
Start tidb instance: v8.5.2
Waiting for tidb instances ready
- TiDB: 192.168.2.82:4000 ... Done
🎉 TiDB Playground Cluster is started, enjoy!
Connect TiDB: mysql --comments --host 192.168.2.82 --port 4000 -u root
TiDB Dashboard: http://192.168.2.82:2379/dashboard
Grafana: http://192.168.2.82:3000
lmdb
(“One day my life will end, and you will wear the crown.")
4
[tidb@msyql8-ocp ~]$ ./connect_tidb.sh
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 1742733318
Server version: 8.0.11-TiDB-v8.5.2 TiDB Server (Apache License 2.0) Enterprise Edition, MySQL 8.0 compatible
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MySQL [(none)]> show config where name = 'new_collations_enabled_on_first_bootstrap';
+------+-------------------+-------------------------------------------+-------+
| Type | Instance | Name | Value |
+------+-------------------+-------------------------------------------+-------+
| tidb | 192.168.2.82:4000 | new_collations_enabled_on_first_bootstrap | false |
+------+-------------------+-------------------------------------------+-------+
1 row in set (0.54 sec)
MySQL [(none)]> select * from mysql.tidb;
+--------------------------+---------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------+
| VARIABLE_NAME | VARIABLE_VALUE | COMMENT |
+--------------------------+---------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------+
| bootstrapped | True | Bootstrap flag. Do not delete. |
| tidb_server_version | 220 | Bootstrap version. Do not delete. |
| system_tz | Asia/Shanghai | TiDB Global System Timezone. |
| new_collation_enabled | False | If the new collations are enabled. Do not edit it. |
| ddl_table_version | 4 | DDL Table Version. Do not delete. |
| tikv_gc_leader_uuid | 668d0d2f3b40009 | Current GC worker leader UUID. (DO NOT EDIT) |
| tikv_gc_leader_desc | host:msyql8-ocp, pid:12889, start at 2025-10-30 16:21:02.876454764 +0800 CST m=+8.134194365 | Host name and pid of current GC leader. (DO NOT EDIT) |
| tikv_gc_leader_lease | 20251030-16:23:02.926 +0800 | Current GC worker leader lease. (DO NOT EDIT) |
| tikv_gc_auto_concurrency | true | Let TiDB pick the concurrency automatically. If set false, tikv_gc_concurrency will be used |
| tikv_gc_enable | true | Current GC enable status |
| tikv_gc_run_interval | 10m0s | GC run interval, at least 10m, in Go format. |
| tikv_gc_life_time | 10m0s | All versions within life time will not be collected by GC, at least 10m, in Go format. |
| tikv_gc_last_run_time | 20251030-16:21:02.929 +0800 | The time when last GC starts. (DO NOT EDIT) |
| tikv_gc_safe_point | 20251030-16:11:02.929 +0800 | All versions after safe point can be accessed. (DO NOT EDIT) |
+--------------------------+---------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------+
14 rows in set (0.01 sec)
MySQL [(none)]>
lmdb
(“One day my life will end, and you will wear the crown.")
6