mysqld (MySQL Server)
- โปรแกรม Single Multi-threaded ทำงานส่วนใหญ่ใน MySQL Installation
- ไม่ Spawn โปรเซสเพิ่มเติม
- จัดการการเข้าถึง MySQL Data Directory (มี Databases, Tables)
- Data Directory = ตำแหน่งเริ่มต้นของ Log Files, Status Files
หมายเหตุ: บาง Package มี mysqld-debug สำหรับ Debugging, Memory Checking, Trace File
การเริ่มต้นเซิร์ฟเวอร์
ตอนเริ่ม ฟัง Network Connections จาก Client และจัดการการเข้าถึง Database
ดูตัวเลือก Startup:
shell> mysqld --verbose --help
System Variables
- มี System Variables หลายตัวควบคุมการทำงาน
- ตั้งค่าตอน Startup ได้
- หลายตัวเปลี่ยนได้ตอน Runtime (Dynamic Reconfiguration)
Status Variables
- ชุดตัวแปรสถานะให้ข้อมูลการทำงาน
- Monitor เพื่อดู Performance Characteristics