sql server 2008 r2 express edition -...

17
- 1 - คู ่มือการติดตั ้งโปรแกรม SQL Server 2008 R2 Express Edition ติดตั ้ง ระบบปฎิบัติการ 1. .NET Frame work 3.5 SP1 ทุกระบบ 2. Windows Installer 4.5 ทุกระบบ 3. Windows Power Shell 1.0 Windows XP , Windows 2003 Server 4. SQL Server 2008 R2 Express Edition ทุกระบบ ** ทุกระบบ หมายถึง Win XP SP2 , Win XP SP3 , Win Vista , Win 7 , Win Server 2003 , Win Server 2008 Win Server 2003 R2 , Win Server 2008 R2 1. การติดตั ้ง .NET Frame work 3.5 SP1 1.1 ทาการ Execute File dotnetfx35-SP1.exe ใน Folder DotNetFrameWork 3.5 Redist 1.2 โปรแกรมจะทาการ Extract file เพื่อเตรียมติดตั ้ง ดังรูป 1.3 โปรแกรมจะทาการ Load file เพื่อติดตั ้ง

Upload: others

Post on 16-Mar-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 1 -

คมอการตดตงโปรแกรม SQL Server 2008 R2 Express Edition

ตดตง ระบบปฎบตการ

1. .NET Frame work 3.5 SP1 ทกระบบ 2. Windows Installer 4.5 ทกระบบ 3. Windows Power Shell 1.0 Windows XP , Windows 2003 Server 4. SQL Server 2008 R2 Express Edition ทกระบบ ** ทกระบบ หมายถง Win XP SP2 , Win XP SP3 , Win Vista , Win 7 , Win Server 2003 , Win Server 2008 Win Server 2003 R2 , Win Server 2008 R2 1. การตดตง .NET Frame work 3.5 SP1 1.1 ท าการ Execute File dotnetfx35-SP1.exe ใน Folder DotNetFrameWork 3.5 Redist

1.2 โปรแกรมจะท าการ Extract file เพอเตรยมตดตง ดงรป

1.3 โปรแกรมจะท าการ Load file เพอตดตง

Page 2: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 2 -

1.4 ท าการ เลอกท I have read ACCEPT the terms of License Agreement จากนนกดปม Install

1.5 โปรแกรมจะท าการตดตง Microsoft .NET Framework 3.5 SP1

Page 3: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 3 -

1.6 เมอท าการตดตงเสรจใหกดปม Exit เพอจบการตดตง .NET Framework 3.5 SP1

Page 4: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 4 -

2. การตดตง Windows Installer 4.5 2.1 เขาไปใน Folder Windows Installer 4.5 และ เลอก File ทจะ Execute ตามระบบปฎบตการทตดตง

File name Operating System WindowsXP-KB942288-v3-x86 Win XP Windows6.0-KB942288-v2-x86 Win Vista , Win 7 , Win 2008 ( 32 Bit ) Windows6.0-KB942288-v2-x64 Win Vista , Win 7 , Win 2008 ( 64 Bit ) WindowsServer2003-KB942288-v4-x86 Win 2003 ( 32 Bit ) WindowsServer2003-KB942288-v4-x64 Win 2003 ( 64 Bit ) 2.2 เลอก I Agree จากนนกดปม Next

Page 5: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 5 -

2.3 โปรแกรมจะท าการตดตง Windows installer 4.5

2.4 เมอตดตงเสรจสมบรณ กดปม Finish โปรแกรมกจะท าการ Restart Windows

Page 6: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 6 -

3. การตดตง Windows Power Shell 1.0 ( เฉพาะ Windows XP และ Windows 2003 Server )

3.1 เขาไปใน Folder Windows PowerShell 1.0 และ เลอก File ทจะ Execute ตามระบบปฎบตการทตดตง File name Operating System

WindowsXP-KB926139-v2-x86-ENU Win XP ( 32 Bit ) WindowsServer2003-KB926139-v2-x86-ENU Win Server 2003 ( 32 Bit ) WindowsServer2003.WindowsXP-KB926139-v2-x64-ENU Win XP , Win 2003 ( 64 Bit )

3.2 กดปม Next เพอท าการตดตง

Page 7: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 7 -

3.3 เลอก I Agree จากนนกดปม Next

3.4 โปรแกรมจะท าการตดตง Windows PowerShell 1.0

Page 8: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 8 -

3.5 เมอตดตงเสรจสมบรณ กดปม Finish

Page 9: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 9 -

4. การตดตง SQL Server 2008 R2 Express Edition 4.1 เลอก File ทจะ Execute ตามระบบปฎบตการทตดตง

File name Operating System SQLEXPRWT_x86_ENU Win XP SP2 , Win XP SP3 , Win Vista , Win 7 , Win Server 2003 ,

Win Server 2008 , Win Server 2003 R2 , Win Server 2008 R2 ( 32 Bit )

SQLEXPRWT_x64_ENU Win XP SP2 , Win XP SP3 , Win Vista , Win 7 , Win Server 2003 , Win Server 2008 , Win Server 2003 R2 , Win Server 2008 R2 ( 64 Bit )

4.2 โปรแกรมจะท าการ Extract file เพอเตรยมตดตง ดงรป

Page 10: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 10 -

4.3 เลอกหวขอ New installation or add feature to an existing installation

4.4 เลอก I accept the license terms แลวกดปม Next

Page 11: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 11 -

4.5 โปรแกรมจะท าการตรวจสอบระบบทตองการ เมอท าการตรวจสอบแลวใหกดปม Install

4.6 เลอก Component ทตองการ Install โดยการกดปม Select All และ เลอก Directory ทตองการจะตดตงโปรแกรม แลวกดปม Next

Page 12: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 12 -

4.7 เลอก Name instance และ Instance ID เปน SQLExpress ดงรป แลวกดปม Next

4.8 ท าการเลอก Startup type ของ SQL Server Browser ใหเปน Automatic ดงรป

Page 13: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 13 -

4.9 เลอก Tab Collation แลวกดปม Customize

4.10 ตงคา Collation ใหเปนดงรป จากนนกดปม OK

Page 14: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 14 -

4.11 เลอก Authentication Mode เปน Mixed Mode แลวปอน Password ของ Sa ในชอง Enter password และ Confirm password กดปม Add Current User แลวกดปม Next

4.12 กดปม Next เพอตดตงโปรแกรม

Page 15: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 15 -

4.13 ระบบจะท าการตดตงโปรแกรม

4.14 เมอท าการตดตงเสรจ ใหกดปม Close

Page 16: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 16 -

4.15 ท าการ Configuration SQL Server 2008 R2 Express โดยการ กดปม Start ของ Windows แลวไปท Microsoft SQL Server 2008 R2 -> Configuration Tools -> SQL Server Configuration Manager

4.16 เลอก Protocols for SQLEXPRESS แลว Enable Protocol Shared Memory , Named Pipes และ TCP/IP โดยการ Click ขวา Protocol Name แลวเลอก Enabled เปน Yes แลวกด OK ดงรป

Page 17: SQL Server 2008 R2 Express Edition - php.diw.go.thphp.diw.go.th/centerprice/upload1/SetupSQLServer2008R2Express.pdf · SQL Server 2008 R2 Express Edition ทุกระบบ **

- 17 -

ตวอยางการ สราง และ Connect Database การอางถง Server Name ท าโดย 1. ชอ Server\SQLEXPRESS หรอ Server IP Address\SQLEXPRESS เชน

Server\SQLEXPRESS หรอ 192.168.0.1\SQLEXPRESS 2. สวน User Name ใช Sa และ Password ใชเหมอนกบตอนทตดตงโปรแกรม