SLV ติดตั้ง - TiDB
SLV ติดตั้ง - TiDB

ทําไม TiDB mySQL คลูสเตอร์?
TiDB ส่งฐานข้อมูล HTAP แบบพิมพ์แข็งแบบ Scalable, semission ที่พูดถึง mySQL โปรโตคอล หลายท่านจัดการจัดการระบบบริการฐานข้อมูลทุกการอ่านและเขียน ซึ่งกลายเป็นการยกเว้นค่าใช้จ่ายทันทีสําหรับความล่าช้า Solana งานหนัก ด้วย
slv installคุณลุกขึ้นได้ TiDB กระจุก ตัว, จํากัด อัตรา การ เสีย ชีวิต ของ ผู้ ให้ แบบ พาส เวิร์ด, และ ทํา ให้ สูง ขึ้น โดย ไม่ ต้อง เจอ กับ ความ ประหลาด ใจ จาก การ ทํา งาน.- TiDB: https://www.pingcap.com/tidb/
- โปรโตคอล MySQL ที่เข้ากันได้กับระบบสาย รวมทั้งการเจาะระบบอัตโนมัติ ดังนั้นคุณต้องเก็บลูกค้าที่คุ้นเคยไว้ ในขณะที่กําลังขยายประสิทธิภาพ
- การจัดการ TiUP ที่สร้างขึ้นและ TiDB แดชบอร์ดทําให้คุณมองเห็น ไปสู่สุขภาพของกลุ่มออกจากกล่อง
ประมวลผลตัวติดตั้ง
เลือก TiDB จากรายการส่วนประกอบหลังจากที่เล็งเป้าหมายที่โฮสต์แล้ว ที่ควรจะควบคุมกลุ่ม
bash
$ slv install -i 1.1.1.1,
🚀 Installing software components...
? Select Software Component to Install (Redis)
Redis
❯ TiDB (MySQL Cluster)
Grafana
Prometheus
Node Exporter
Kafka Cluster$ slv install -i 1.1.1.1,
🚀 Installing software components...
? Select Software Component to Install (Redis)
Redis
❯ TiDB (MySQL Cluster)
Grafana
Prometheus
Node Exporter
Kafka Clusterหมายเหตุ: แทนที่1.1.1.1กับ IP ที่อยู่เซิร์ฟเวอร์ของคุณเอง
ทบทวน ราย ละเอียด
ก่อนที่สิ่งน่าดึงดูดจะเริ่มต้น
slv แสดงเส้นทางการเล่นและรายการต่าง ๆ เพื่อที่คุณจะได้ตรวจสอบเป้าหมายของกลุ่มได้ 2 ครั้ง CLI ยังเตือนคุณด้วยว่า TiDB อาจใช้เวลาหลายนาทีในการเตรียมการ ขึ้นอยู่กับฮาร์ดแวร์bash
🚀 Installing software components...
? Select Software Component to Install (Redis) › TiDB (MySQL Cluster)
✅ You selected: TiDB (MySQL Cluster)
📋 Installation Details:
Software: TiDB (MySQL Cluster)
Inventory: 1.1.1.1,
Playbook: /Users/fumi/.slv/template/0.9.800/ansible/cmn/software/install-tidb.yml
⚠️ a few minutes to 10 minutes may be required for TiDB installation depending on your server performance.
? Do you want to proceed with the installation? (y/N) ›🚀 Installing software components...
? Select Software Component to Install (Redis) › TiDB (MySQL Cluster)
✅ You selected: TiDB (MySQL Cluster)
📋 Installation Details:
Software: TiDB (MySQL Cluster)
Inventory: 1.1.1.1,
Playbook: /Users/fumi/.slv/template/0.9.800/ansible/cmn/software/install-tidb.yml
⚠️ a few minutes to 10 minutes may be required for TiDB installation depending on your server performance.
? Do you want to proceed with the installation? (y/N) ›สังเกต การ ประหาร ชีวิต ที่ ไม่ อาจ หลีก เลี่ยง ได้
หลังจากได้รับการยืนยันแล้ว
slv ควบคุมมือให้สามารถสร้าง TiDB ส่วนประกอบและบริการที่รองรับแต่ละโฮสต์bash
🚀 Running ansible: ansible-playbook -i 1.1.1.1, -u solv /Users/fumi/.slv/template/0.9.800/ansible/cmn/software/install-tidb.yml
PLAY [Install and configure TiDB cluster] ************************************************************
TASK [Gathering Facts] *******************************************************************************🚀 Running ansible: ansible-playbook -i 1.1.1.1, -u solv /Users/fumi/.slv/template/0.9.800/ansible/cmn/software/install-tidb.yml
PLAY [Install and configure TiDB cluster] ************************************************************
TASK [Gathering Facts] *******************************************************************************ตรวจ สอบ จุด สิ้น สุด
เมื่อการจัดทําเสร็จ CLI รายละเอียดของการเชื่อมต่อเพื่อให้คุณสามารถลวด TiDB เข้าสู่แอพของคุณในทันที และยืนยันการขีดเส้นใต้สามารถเอื้อมถึง
bash
✅ Installation completed successfully!
🌐 Access Information:
TiDB Endpoint: 1.1.1.1:4000 (MySQL Protocol)
Dashboard http://1.1.1.1:7301/dashboard/#/signin (HTTP Protocol)
🔑 Default credentials
Username: root
Password: <empty>✅ Installation completed successfully!
🌐 Access Information:
TiDB Endpoint: 1.1.1.1:4000 (MySQL Protocol)
Dashboard http://1.1.1.1:7301/dashboard/#/signin (HTTP Protocol)
🔑 Default credentials
Username: root
Password: <empty>แดชบอร์ด
ล็อกอินไปยัง TiDB แดชบอร์ดที่
http://1.1.1.1:7301/dashboard/#/signin โดยใช้ค่าประจําตัวปริยายด้านบน คุณสามารถตรวจสอบการเรียกให้กลุ่มข่าวทํางาน, ตรวจความถูกต้องของข้อความ SQL และตรวจสอบสุขภาพของส่วนประกอบได้