SQL Server 2005 có nhiều phiên bản khác nhau, trong đó bản Express là
bản thấp nhất, được Microsoft cung cấp miễn phí cho người dùng với mục
đích học tập và ứng dụng vào những ứng dụng nhỏ, không yêu cầu cao về
các tính năng khác ngoài việc lưu trữ và xử lý đơn giản.
Yêu cầu về phần cứng và hệ điều hành sử dụng
- Hệ điều hành tối thiểu: Windows 2000 Service Pack 4; Windows Server 2003 Service Pack 1; Windows XP Service Pack 2
- Phần cứng:
- Máy tính chip Pentium III 600 MHz trở lên (Cấu hình đề nghị: Chip 1 GHz hoặc cao hơn.)
- Tối thiểu 192 MB RAM (Cấu hình đề nghị: 512 MB RAM.)
- Ổ cứng còn trống tối thiểu 525 MB
</li>
Bộ cài đặt:
- 1. Để cài đặt SQL Server 2005 Express, máy bạn phải có bộ Windows Installer 3.1 trở lên, download về tại địa chỉ: [You must be registered and logged in to see this link.]
- 2. Microsoft .Net Framework 2.0
- Hệ điều hành 32bit: [You must be registered and logged in to see this link.]
- Hệ điều hành 64bit: [You must be registered and logged in to see this link.]
</li>
3. Bạn phải có file cài đặt SQL Server 2005 Express, có thể download miễn phí từ Website của Microsoft tại địa chỉ: [You must be registered and logged in to see this link.]
4. SQL Server Management Studio Express: [You must be registered and logged in to see this link.]
Sau khi download về, hãy lưu vào một thư mục nào đó để bắt đầu tiến hành cài đặt
Trong hướng dẫn dưới đây, các thành phần trên có tên file cài đặt lần lượt là
- WindowsInstaller-KB893803-v2-x86.exe: Windows Installer 3.1
- dotnetfx.exe: Microsoft .Net Framework 2.0
- SQLEXPR.EXE: SQL Server 2005 Express
- SQLServer2005_SSMSEE.msi: Công cụ quản lý SQL Server Management Studio Express
Bước 1: Cài Windows Installer 3.1Nhấn vào file WindowsInstaller-KB893803-v2-x86.exeNhấn Next
[You must be registered and logged in to see this image.]Chọn I agree, nhấn Next
[You must be registered and logged in to see this image.]Click Finish
[You must be registered and logged in to see this image.]Bước 2: Cài Framework 2.0File cài: dotnetfx.exe[You must be registered and logged in to see this image.]Nhấn Finish
[You must be registered and logged in to see this image.]Máy sẽ khởi động lại
Sau đó tiếp tục bước 3
Bước 3: Cài Microsoft SQL Server 2005Nhấn vào file SQLEXPR.EXE[You must be registered and logged in to see this image.]Trên màn hình tiếp theo, đánh dấu vào mục: "I accept the licensing terms and conditions", nhấn Next
[You must be registered and logged in to see this image.]Trên màn hình tiếp theo, nhấn Install
[You must be registered and logged in to see this image.]Nhấn Next
[You must be registered and logged in to see this image.]Tiếp tục nhấn Next
[You must be registered and logged in to see this image.]Trên màn hình tiếp theo, bỏ dấu check mở mục "Hide advanced configuration options", nhấn Next.
[You must be registered and logged in to see this image.]Nhấn Next trên màn hình tiếp theo
[You must be registered and logged in to see this image.]Khai báo Instance name, chọn Default Instance (Server Name sẽ trùng với tên máy)
Nhấn Next
[You must be registered and logged in to see this image.]Nhấn Next trên cửa sổ tiếp theo
[You must be registered and logged in to see this image.]Trên cửa sổ tiếp theo, chọn chế độ chứng thực user
- Windows Authentication Mode: Sử dụng chứng thực của Windows
- Mixed Mode: Kết hợp cả chứng thực của Windows và chứng thực của SQL Server
Ở đây có thể để mặc định: "Windows Authentication Mode"
Nhấn Next
[You must be registered and logged in to see this image.]Nhấn Next
[You must be registered and logged in to see this image.]Nhấn Next
[You must be registered and logged in to see this image.]Nhấn Next
[You must be registered and logged in to see this image.]Click Install để bắt đầu cài đặt
[You must be registered and logged in to see this image.]Quá trình cài đặt có thể mất 5 -> 10 phút
[You must be registered and logged in to see this image.]Khi màn hình báo cài đặt thành công như hình dưới, click Next
[You must be registered and logged in to see this image.]Tiếp tục click Finish
[You must be registered and logged in to see this image.]Bước 4: Cài Microsoft SQL Server Management Studio Express:File cài đặt SQLServer2005_SSMSEE.msiNhấn Next
[You must be registered and logged in to see this image.]Click chọn "I accept the terms in the license agreement", nhấn Next
[You must be registered and logged in to see this image.]Gõ tên người dùng, đơn vị sử dụng, sau đó nhấn Next
[You must be registered and logged in to see this image.]Màn hình tiếp theo, nhấn Next
[You must be registered and logged in to see this image.]Click Install
[You must be registered and logged in to see this image.]Đợi trong vài phút
[You must be registered and logged in to see this image.]Nhấn Finish
[You must be registered and logged in to see this image.]Đến đây chúng ta đã cài đặt xong SQL Server 2005 Express và các công cụ
để quản lý database của nó.