MySQL รองรับ Microsoft Windows 64-bit เท่านั้น Platform info: https://www.mysql.com/support/supportedplatforms/database.html
หลายวิธีติดตั้ง วิธีหนึ่งคือ MySQL Installer Method (simplest และ recommended)
ขั้นตอน:
- ดาวน์โหลด MySQL Installer จาก https://dev.mysql.com/downloads/installer/
- Execute ไฟล์ (web-community version: download products ที่เลือก ไม่ bundle ทั้งหมด)
- เลือก Setup Type สำหรับ initial installation
Setup Types:
- Developer Default: MySQL Server + MySQL tools สำหรับ development (MySQL Workbench, etc.)
- Server Only: MySQL Server เพียงอย่างเดียว
- Custom: เลือก version และ products เอง
Drag products จาก "Available Products" ไปขวา
Server Configuration - Availability Levels:
- Standalone MySQL Server / Classic MySQL Replication (default): รันโดยไม่มี high availability
- InnoDB Cluster: 2 options based on MySQL Group Replication:
- Sandbox InnoDB Cluster บน local host (testing only)
- Create new InnoDB Cluster หรือ add instance ไป existing cluster
Complete configuration ตาม onscreen instructions
MySQL ติดตั้งเสร็จ หาก configure as service: Windows auto-start MySQL ทุกครั้งที่ restart
MySQL Installer application ติดตั้งบน local host ใช้ upgrade/reconfigure ได้ภายหลัง