How to Install SQL Server 2005 - A Quick Guide

Purpose: To describe how to perform a basic installation of SQL Server 2005.

Version Information: Although this document addresses SQL Server 2005 Developer Edition, the instructions are very similar or the same for other editions of SQL Server 2005.

Important Notes: Before installing SQL Server 2005, SQL Server 2000 databases should be backed up (if they are required), and the SQL Server 2000 software should be completely un-installed through the Control Panel, UNLESS there is a technical requirement for it to exist on the same machine.

Although SQL Server 2000 and 2005 can exist side by side on the same machine, they have to be installed as separate named instances. This document does not attempt to address the details of SQL Server named instances – if in doubt, consult the DBA for the project for which the installation is being performed.

Should a user require SQL Server 2000 AFTER SQL Server 2005 has been installed, it can be installed as a separate named instance, however a check should be made to ensure that any critical applications that require SQL Server 2000 are capable of supporting named instances – not all are.

  1. Insert the DVD into the DVD drive and double-click on the icon:
  2. Insert the DVD into the DVD drive

  3. The installation screen should appear:
  4. The SQL Server installation screen appears

    For most installations, if installing on standard 32 bit Windows XP Professional, click on the x86-based operating systems option.
  5. Click on Server components, tools, Books online and samples:
  6. Click on Server components, tools, Books online and samples

  7. Read the terms and conditions of the license agreement and click the check box to accept them:
  8. Read and accept the terms and conditions of the license agreement

    Then click Next.

  9. The Installing Prerequisites screen appears:
  10. The Installing Prerequisites screen

    Click on the Install button and wait whilst the system components are configured. This may take 10-20 seconds.

  11. Once the prerequisites are installed, click on the Next:
  12. Prerequisites are installed

  13. Wait for a few seconds for the following screen to appear, and then click on Next:
  14. Welcome to the Microsoft SQL Server Installation Wizard

  15. The System Configuration Check screen appears:
  16. The System Configuration Check screen

    If the configuration check completes successfully (Success appears in the top panel, all ticks in the Details panel), click on Next.

  17. Fill in the Registration Information details:
  18. Fill in the Registration Information details

    Click on Next.

  19. Select the components to install:
  20. Select the components to install

    Note that the components selected in the screen shot above are the most common components that will be needed for most developers and development DBAs. However, if another component such as Analysis Services is needed, it can be added easily afterwards by re-inserting the installation DVD and re-running the setup program.

    Click on the Advanced button to open up further options.

  21. The advanced Features Selection screen opens:
  22. Feature selection

    IMPORTANT NOTE
    As a general rule it is not necessary to change the default installation path or the Developer Edition installation, unless your organization has a standard which is different. If in doubt, check an existing PC or server at your site.

    Click on Next.

  23. Select the Default instance:
  24. Select the Default instance

    IMPORTANT NOTE
    If the Default instance radio button is disabled, this probably means that there is another, default instance of SQL Server 2000 or SQL Server 2005 already installed on this machine. In this case, consult the DBA for the project as it may not be necessary or desirable to re-install the database components.

    Click on Next.

  25. Select the radio button "Use the built-in System account":
  26. Select the radio button Use the built-in System account

    The first step will change the Windows account under which the SQL Server service executes to the Local System account. In a production environment or certain development environments, it may be desirable to change this to a domain user account, but this is not usually necessary for local developer installations. Note that the service account settings can be changed through the Services applet in the Control Panel at any point after installation, however SQL Server will require re-starting in order for these changes to take effect.

    Click on Next.

  27. Change Authentication Mode to Mixed Mode and set a password for the sa logon. The user’s NT logon name could be used as an initial password, but note that whatever is used, it should NOT be the same for each machine as the sa account gives sysadmin privileges to any user who uses it:
  28. Change Authentication Mode to Mixed Mode and set a password for the sa logon

    Click on Next.

  29. Keep the default collation settings, UNLESS the DBA for the project specifies that they should be changed. Be aware that certain applications require non-default settings:
  30. Keep the default collation settings, unless you have a reason to change them

    Click on Next.

  31. Select Error Reporting and Usage options – it does not matter what these are set to, as they are completely at your discretion:
  32. Error Reporting and Usage options

    Click on Next.

  33. The pre-installation screen will now appear:
  34. The SQL Server pre-installation screen

    Click on Install.

  35. The Setup Progress screen will appear, informing you of installation progress:
  36. SQL Server setup progress

    This step usually takes 10-30 minutes, but requires no user intervention - so now's a good time to take a break and make some coffee.

  37. The Setup steps have completed:
  38. SQL Server setup has finished

    Click on Next.

  39. The "Completing Microsoft SQL Server 2005 Setup" screen will now appear:
  40. Completing Microsoft SQL Server 2005 Setup

    If you only want the database server to be accessible from the machine on which it is installed, click on Finish. SQL Server 2005 installation is now complete.

    However, if you wish the database server to be accessible from other machines, click on the Surface Area Configuration tool link.

  41. The "Help Protect Your SQL Server" screen will appear:
  42. The Help Protect Your SQL Server screen will appear

    Click on the Surface Area Configuration for Services and Connections link.

  43. The SQL Server 2005 Surface Area Configuration screen will appear:
  44. SQL Server 2005 Surface Area Configuration

    Click on the Remote Connections node in the left hand tree pane, then click on Local and remote connections. By default, TCP/IP only is selected and is usually sufficient in most development environments, but if you suspect that you may need SQL Server 2005 to host legacy applications which require support for the named pipes SQL Server communication protocol, click on “Using TCP/IP and Named Pipes”. If in doubt, consult the DBA for the project.

    In addition, if you wish this installation of SQL Server to automatically announce itself on the network to automatic database server directory queries, click on the SQL Server Browser Service, set the Startup type to ‘Automatic”, click on “Apply”, then click on the Start button.

    Click on OK, and then close the “Help Protect Your SQL Server” screen.
    Finally, click on the Finish button on the “Completing Microsoft SQL Server 2005 Setup” screen.

    SQL Server 2005 setup is now complete.

End of Essential Guide

SQL Server Club is a free community service from Norb Technologies - Making SQL Server Faster - www.norbtechnologies.com