Computer >> Hướng Dẫn Máy Tính >  >> Lập Trình >> SQL Server

Các bước cài đặt Microsoft SQL Server 2019 trên Windows 10

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

  1. Tải bộ cài tại trang Microsoft (Developer hoặc Express).
  2. Chạy file -> Chọn Custom.
  3. Chọn thư mục cài (mặc định C:\SQL2019), yêu cầu ~9GB ổ cứng.
  4. Nhấn Install -> Tải gói cài từ mạng (3-5 phút).
  5. Tab Installation -> New SQL Server stand-alone installation.
  6. Product Key: Chọn Specify a free edition -> Developer.
  7. Chấp nhận license terms.
  8. Microsoft Update: Tick Use Microsoft Update.
  9. Feature Selection: Tick Database Engine Services (cơ bản).
  10. Instance Configuration: Default instance.
  11. Server Configuration: Mặc định.
  12. Database Engine Configuration:
    • Authentication Mode: Mixed Mode (SQL + Windows).
    • Set password cho sa (nhớ kỹ!).
    • Add Current User làm admin.
  13. Data Directories / TempDB / FILESTREAM: Mặc định hoặc tùy chỉnh (TempDB khuyên 4 file).
  14. Analysis Services / Integration Services / Distributed Replay: Add Current User làm admin.
  15. Consent to install Python/R: Accept.
  16. Ready to Install -> Install (15-45 phút).

#2. Cài đặt SQL Server Management Studio (SSMS)

  1. Tải SSMS từ link trong SQL Server Installation Center hoặc trang Microsoft.
  2. Cài đặt mặc định (C:\Program Files (x86)\Microsoft SQL Server Management Studio 18).
  3. 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.