Hướng dẫn cài đặt SQL Server 2019 Developer Edition (miễn phí cho dev/test) trên Windows 10.
#1. Cài đặt SQL Server 2019
- Tải bộ cài tại trang Microsoft (Developer hoặc Express).
- Chạy file -> Chọn Custom.
- Chọn thư mục cài (mặc định C:\SQL2019), yêu cầu ~9GB ổ cứng.
- Nhấn Install -> Tải gói cài từ mạng (3-5 phút).
- Tab Installation -> New SQL Server stand-alone installation.
- Product Key: Chọn Specify a free edition -> Developer.
- Chấp nhận license terms.
- Microsoft Update: Tick Use Microsoft Update.
- Feature Selection: Tick Database Engine Services (cơ bản).
- Instance Configuration: Default instance.
- Server Configuration: Mặc định.
- Database Engine Configuration:
- Authentication Mode: Mixed Mode (SQL + Windows).
- Set password cho sa (nhớ kỹ!).
- Add Current User làm admin.
- Data Directories / TempDB / FILESTREAM: Mặc định hoặc tùy chỉnh (TempDB khuyên 4 file).
- Analysis Services / Integration Services / Distributed Replay: Add Current User làm admin.
- Consent to install Python/R: Accept.
- Ready to Install -> Install (15-45 phút).
#2. Cài đặt SQL Server Management Studio (SSMS)
- Tải SSMS từ link trong SQL Server Installation Center hoặc trang Microsoft.
- Cài đặt mặc định (C:\Program Files (x86)\Microsoft SQL Server Management Studio 18).
- Khởi động lại máy sau khi cài xong.
#3. Kết luận
Cài đặt thành công SQL Server 2019 Developer + SSMS. SQL Server ổn định, được Microsoft hỗ trợ tốt. Sẵn sàng cho các bài học tiếp theo.