Slide 56
Slide 56 text
Copyright © 2024, Oracle and/or its affiliates
56
TiDB Demo
TiDB Set Up
MySQL Client Access
$ kubectl port-forward service/sample-tidb-tidb 14000:4000 > pf14000.out &
$ mysql --comments -h 127.0.0.1 -P 14000 -u root
Welcome to the MySQL monitor. Commands end with ; or ¥g.
Your MySQL connection id is 1805648180
Server version: 8.0.11-TiDB-v7.4.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '¥h' for help. Type '¥c' to clear the current input statement.
mysql> SELECT @@VERSION;
+--------------------+
| @@VERSION |
+--------------------+
| 8.0.11-TiDB-v7.4.0 |
+--------------------+
1 row in set (0.00 sec)
mysql> exit
Bye