How to: Install SQL Server Express
SQL Server 2005
This topic describes how to install Microsoft SQL Server 2005
Express Edition (SQL Server Express). It also identifies the setup
options that differ from Microsoft SQL Server 2005.
For local installations, you must run Setup as an administrator. If you install SQL Server from a remote share, you must use a domain account that has read and execute permissions on the remote share.
SQL Server Express also supports the DISABLENETWORKPROTOCOLS property to enable network access during installation. For more information, see How to: Enable Network Access During Installation (SQL Server Express).
For local installations, you must run Setup as an administrator. If you install SQL Server from a remote share, you must use a domain account that has read and execute permissions on the remote share.
-
To begin installation, double-click sqlexpr.exe.
Note: SQL Server Express is available as a self-extracting executable file (sqlexpr.exe) from both the Visual Studio 2005 CD and the SQL Server Express Web site. SQLEXPR.EXE installs on x86-based computers and to the 32-bit subsystem (WOW64). For more information, see Hardware and Software Requirements (SQL Server Express) -
On the End User License Agreement page, read the license agreement, and then select I accept the licensing terms and conditions check box. Click Next.
-
SQL Server Component Update runs,
installing the software required prior to installing SQL Server Express.
For more information about component requirements, click the Help button at the bottom of the page. Click Next.
Important: .NET Framework 2.0 is not installed when SQL Server Component Update runs, but SQL Server Express Setup requires .NET Framework 2.0 to be installed prior to running the sqlexpr.exe. If .NET Framework 2.0 is not present, you will encounter an error. Make sure that you uninstall all previous versions of .NET Framework and install .NET Framework 2.0. from the .NET Framework 2.0 Download Center before initiating SQL Server Express Setup. -
The Welcome to the Microsoft SQL Server Installation Wizard page appears. Click Next.
-
On the System Configuration Check page, the computer is
scanned for potential installation problems. To interrupt the scan,
click Stop. To proceed with setup after the scan completes, click Continue.
-
On the Registration Information page, enter information in the Name and Company text boxes. Click Next.
-
Because SQL Server Express is free, there is no Product Key text box on this page.
-
If you select the Hide advanced configuration options check box, the Service Account, Collation Settings, Instance Name, and User Instances pages do not appear during setup.
-
Because SQL Server Express is free, there is no Product Key text box on this page.
-
On the Feature selection page, select the program features to install and click Next.
Note: There is no Custom Feature Selection page in SQL Server Express Setup. Instead, the Feature Selection page lets you select the features that you want to be installed. Expand a feature to view its subfeatures by clicking the "+" symbol. -
On the Instance Name page, select a Default instance or a Named instance for your installation. If you select Default instance, an existing default instance will be upgraded. If you select Named Instance, specify an instance name or the default named instance of SQLExpress is used. Click Next.
Click Installed Instances to view a list of installed SQL Server Express instances and components on the computer where SQL Server Express Setup is running. The installed instance details pane will display upgrade options for installed instances.
SQL Server Express Setup checks whether the instance name SQLExpress exists at startup.
-
If SQLExpress instance exists, then by default, the Instance name page appears.
-
If SQLExpress instance does not exist, then by default, the Instance name page is hidden from the user. However, if you clear the Hide Advanced configuration options check box on the Registration Information page, the Instance name dialog box appears at all times.
-
If SQLExpress instance exists, then by default, the Instance name page appears.
-
The Service Account page lets you assign
local system account or a domain user account to SQL Server service.
This page does not appear if you select the Hide advanced configuration options check box
-
Select Use a Local System account that does not require a password to connect to SQL Server on the same computer, and then click Next.
-
Select Use a Domain User account, enter the Username, Password, and the Domain name, and then click Next.
Note: The Start services at the end of SQL Server Setup checkbox is selected by default for SQL Server Express. It automatically starts the SQL Server service when the operating system starts.
-
Select Use a Local System account that does not require a password to connect to SQL Server on the same computer, and then click Next.
-
On the Authentication Mode page, specify
the security mode used to connect to your instance of SQL Server. If you
select Windows Authentication, Setup creates an sa account that is
disabled by default. To activate the sa account after Setup completes,
see the How to: Change Server Authentication Mode and ALTER LOGIN (Transact-SQL)
topics in SQL Server 2005 Books Online. If you select Mixed Mode
Authentication you must set strong passwords for all SQL Server logins.
Enter and confirm a strong sa logon password. Click Next.
Important: For security reasons, SQL Server Express does not automatically start the SQL Server Browser service. If your applications have to use SQL Server Browser, you must manually start the service or change its startup option. For more information, see SQL Server Browser Service How to: Start and Stop the SQL Server Browser Service in SQL Server 2005 Books Online. -
On the Collations Settings page, change the default Collation designator and sort order only if you must match collation settings in another instance of SQL Server or in another computer. Select SQL collations to match the sort order settings in earlier versions of SQL Server. Click Next. This page does not appear if you select the Hide advanced configuration options check box.
Note: The Customize for each service account drop-down box is removed because in SQL Server Express the service should always point to SQL Server. -
On the User Instances page, specify if you
want to generate a separate instance of the Database Engine for
non-administrator users. By default, user instance functionality is
enabled. To turn off user instances, clear the check box. This page does
not appear if you select the Hide advanced configuration options check box. Click Next.
-
On the Error and Usage Report Setting
page, select whether to turn on error reporting and usage reporting for
SQL Server and its components. By default, error reporting is turned on.
To turn off error reporting, clear the check box. Click Next.
-
On the Ready to Install page, click Install to finish installing SQL Server.
-
On the Setup Progress page, you can monitor installation progress as setup proceeds. Click Next.
-
On the Completing the Microsoft SQL Server Installation Wizard
page, you can view the setup summary log by clicking the link provided
on this page. To complete the SQL Server Installation Wizard, click Finish.
SQL Server Express also supports the DISABLENETWORKPROTOCOLS property to enable network access during installation. For more information, see How to: Enable Network Access During Installation (SQL Server Express).
Tasks
How to: Uninstall SQL Server ExpressConcepts
Before You Install SQL Server ExpressHelp and Information
Getting SQL Server 2005 AssistanceInstall SQL Server 2012 from the Installation Wizard (Setup)
SQL Server 2012
This topic provides a step-by-step procedure for installing
a new instance of SQL Server 2012 using the SQL Server setup
installation wizard. The SQL Server Installation Wizard provides a
single feature tree for installation of all SQL Server components so
that you do not have to install them individually. For more information
on various components that can be installed, see Installation for SQL Server 2012. For more information about how to install the SQL Server components individually, see Install SQL Server 2012.
These additional topics document other ways to install SQL Server:
Note |
---|
SQL Server Compact runtime and query tools are
installed when you install SQL Server Management Studio and SQL
Server Integration Services. SQL Server Compact Server tools are
installed if you create a replication subscription involving SQL Server
Compact. |
Before you install SQL Server, review topics in Planning a SQL Server Installation.
Note |
---|
For local installations, you must run Setup as an
administrator. If you install SQL Server from a remote share, you must
use a domain account that has read and execute permissions on the remote
share. |
To install SQL Server 2012
-
Insert the SQL Server installation media. From the root
folder, double-click Setup.exe. To install from a network share, locate
the root folder on the share, and then double-click Setup.exe.
-
The Installation Wizard runs the SQL Server Installation Center. To create a new installation of SQL Server, click Installation in the left-hand navigation area, and then click New SQL Server stand-alone installation or add features to an existing installation.
-
The System Configuration Checker runs a discovery operation on your computer. To continue, click OK. You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.
-
On the Setup Support Files page, click Install to install the Setup support files.
-
The System Configuration Checker runs a discovery operation on your computer. To continue, click OK. You can view the details on the screen by clicking Show Details, or as an HTML report by clicking View detailed report.
-
On the Language Selection page, you can specify the
language for your instance of SQL Server if you are installing on a
localized operating system and the installation media includes language
packs for both English and the language corresponding to the operating
system. For more information about cross-language support and
installation considerations, see Local Language Versions in SQL Server.
To continue, click Next.
-
On the Product Key page, select an option to indicate
whether you are installing a free edition of SQL Server, or a production
version of the product that has a PID key. For more information, see Editions and Components of SQL Server 2012.
To continue, click Next.
-
On the License Terms page, review the license agreement and, if you agree, select the I accept the license terms check box, and then click Next. To help improve SQL Server, you can also enable the feature usage option and send reports to Microsoft.
-
On the Product Updates page, the latest available SQL
Server product updates are displayed. If you don't want to include the
updates, clear the Include SQL Server product updates check box. If no product updates are discovered, SQL Server Setup does not display this page and auto advances to the Install Setup Files page. For more information on Product Updates, see Product Updates in SQL Server 2012 Installation
-
On the Install Setup files page, Setup provides the
progress of downloading, extracting, and installing the Setup files. If
an update for SQL Server Setup is found, and is specified to be
included, that update will also be installed.
-
The System Configuration Checker verifies the system state of your computer before Setup continues.
-
On the Setup Role page, select SQL Server Feature Installation, and then click Next to continue to the Feature Selection page.
-
On the Feature Selection page, select the components
for your installation. A description for each component group appears in
the Feature description pane after you select the feature name. You can select any combination of check boxes. For more information, see Editions and Components of SQL Server 2012 and Features Supported by the Editions of SQL Server 2012.
The prerequisites for the selected features are displayed in the Prerequisites for selected features pane. SQL Server Setup will install the prerequisite that are not already installed during the installation step described later in this procedure.
You can also specify a custom directory for shared components by using the field at the bottom of the Feature Selection page. To change the installation path for shared components, either update the path in the field at the bottom of the dialog box, or click Browse to move to an installation directory. The default installation path is C:\Program Files\Microsoft SQL Server\110\.
The path specified for the shared components must be an absolute path. The folder must not be compressed or encrypted. Mapped drives are not supported. If you are installing SQL Server on a 64-bit Operating System, you will see the following options:
-
Shared feature directory
-
Shared feature directory (x86)
-
Shared feature directory
-
On the Installation Rules page, Setup verifies the system state of your computer before Setup continues.
-
On the Instance Configuration page, specify whether to
install a default instance or a named instance. For more information,
see Instance Configuration. Click Next to continue.
Instance ID — By default, the instance name is used as the Instance ID. This is used to identify installation directories and registry keys for your instance of SQL Server. This is the case for default instances and named instances. For a default instance, the instance name and instance ID would be MSSQLSERVER. To use a non-default instance ID, specify a different value for Instance ID text box.
Note Typical stand-alone instances of SQL Server 2012, whether default or named instances, do not use a non-default value for the Instance ID.
All SQL Server service packs and upgrades will apply to every component of an instance of SQL Server.
Installed instances — The grid shows instances of SQL Server that are on the computer where Setup is running. If a default instance is already installed on the computer, you must install a named instance of SQL Server 2012.
-
The Disk Space Requirements page calculates the
required disk space for the features that you specify. Then it compares
the required space to the available disk space. For more information,
see Disk Space Requirements.
-
Work flow for the rest of this topic depends on the
features that you have specified for your installation. You might not
see all the pages, depending on your selections.
-
Use the Server Configuration — Service Accounts
page to specify login accounts for SQL Server services. The actual
services that are configured on this page depend on the features that
you selected to install.
You can assign the same login account to all SQL Server services, or you can configure each service account individually. You can also specify whether services start automatically, are started manually, or are disabled. Microsoft recommends that you configure service accounts individually to provide least privileges for each service, where SQL Server services are granted the minimum permissions they have to have to complete their tasks. For more information, see Server Configuration - Service Accounts and Configure Windows Service Accounts and Permissions.
To specify the same logon account for all service accounts in this instance of SQL Server, provide credentials in the fields at the bottom of the page.
Security Note Do not use a blank password. Use a strong password.
-
Use the Server Configuration — Collation page to specify non-default collations for the Database Engine and Analysis Services. For more information, see Server Configuration - Collation.
-
Use the Database Engine Configuration - Account Provisioning page to specify the following:
-
Security Mode — Select Windows Authentication or
Mixed Mode Authentication for your instance of SQL Server. If you select
Mixed Mode Authentication, you must provide a strong password for the
built-in SQL Server system administrator account.
After a device establishes a successful connection to SQL Server, the security mechanism is the same for both Windows Authentication and Mixed Mode. For more information, see Database Engine Configuration - Account Provisioning.
-
SQL Server Administrators — You must specify at
least one system administrator for the instance of SQL Server. To add
the account under which SQL Server Setup is running, click Add Current User. To add or remove accounts from the list of system administrators, click Add or Remove,
and then edit the list of users, groups, or computers that will have
administrator privileges for the instance of SQL Server. For more
information, see Database Engine Configuration - Account Provisioning.
-
Security Mode — Select Windows Authentication or
Mixed Mode Authentication for your instance of SQL Server. If you select
Mixed Mode Authentication, you must provide a strong password for the
built-in SQL Server system administrator account.
-
Use the Database Engine Configuration - Data
Directories page to specify non-default installation directories. To
install to default directories, click Next.
Important If you specify non-default installation directories, ensure that the installation folders are unique to this instance of SQL Server. None of the directories in this dialog box should be shared with directories from other instances of SQL Server.
-
Use the Database Engine Configuration - FILESTREAM page
to enable FILESTREAM for your instance of SQL Server. For more
information, see Database Engine Configuration - Filestream.
-
Use the Analysis Services Configuration — Account
Provisioning page to specify the server mode and the users or accounts
that will have administrator permissions for Analysis Services. Server
mode determines which memory and storage subsystems are used on the
server. Different solution types run in different server modes. If you
plan to run multidimensional cube databases on the server, choose the
default option, Multidimensional and Data Mining server mode. Regarding
administrator permissions, you must specify at least one system
administrator for Analysis Services. To add the account under which SQL
Server Setup is running, click Add Current User. To add or remove accounts from the list of system administrators, click Add or Remove,
and then edit the list of users, groups, or computers that will have
administrator privileges for Analysis Services. For more information
about server mode and administrator permissions, see Analysis Services Configuration - Account Provisioning.
When you are finished editing the list, click OK. Verify the list of administrators in the configuration dialog box. When the list is complete, click Next.
-
Use the Analysis Services Configuration — Data
Directories page to specify non-default installation directories. To
install to default directories, click Next.
Important If you specify non-default installation directories, ensure that the installation folders are unique to this instance of SQL Server. None of the directories in this dialog box should be shared with directories from other instances of SQL Server.
-
Use the Reporting Services Configuration page to
specify the kind of Reporting Services installation to create. For more
information about Reporting Services configuration modes and the options
we have, see Reporting Services Configuration Options (SSRS).
After you choose an option, click Next to continue.
-
Use the Distributed Replay Controller Configuration
page to specify the users you want to grant administrative permissions
to for the Distributed Replay controller service. Users that have
administrative permissions will have unlimited access to the Distributed
Replay controller service.
Click the Add Current User button to add the users to whom you want to grant access permissions for the Distributed Replay controller service. Click the Add button to add access permissions for the Distributed Replay controller service. Click the Remove button to remove access permissions from the Distributed Replay controller service.
To continue, click Next.
-
Use the Distributed Replay Client Configuration page to
specify the users you want to grant administrative permissions to for
the Distributed Replay client service. Users that have administrative
permissions will have unlimited access to the Distributed Replay client
service.
Controller Name is an optional parameter, and the default value is <blank>. Enter the name of the controller that the client computer will communicate with for the Distributed Replay client service. Note the following:
-
If you have already set up a controller, enter the name of the controller while configuring each client.
-
If you have not yet set up a controller, you can
leave the controller name blank. However, you must manually enter the
controller name in the client configuration file.
Specify the Result Directory for the Distributed Replay client service. The default result directory is <drive letter>:\Program Files\Microsoft SQL Server\DReplayClient\ResultDir\.
To continue, click Next.
-
If you have already set up a controller, enter the name of the controller while configuring each client.
-
On the Error Reporting page, specify the information
that you want to send to Microsoft that will help improve SQL Server. By
default, options for error reporting is enabled.
-
The System Configuration Checker will run one more set
of rules to validate your computer configuration with the SQL Server
features that you have specified.
-
The Ready to Install page shows a tree view of
installation options that were specified during Setup. On this page,
Setup indicates whether the Product Update feature is enabled or
disabled and the final update version.
To continue, click Install. SQL Server Setup will first install the required prerequisites for the selected features followed by the feature installation.
-
During installation, the Installation Progress page
provides status so that you can monitor installation progress as Setup
continues.
-
After installation, the Complete page provides a link
to the summary log file for the installation and other important notes.
To complete the SQL Server installation process, click Close.
-
If you are instructed to restart the computer, do so
now. It is important to read the message from the Installation Wizard
when you have finished with Setup. For more information, see View and Read SQL Server Setup Log Files.
Configure your new SQL Server installation
-
To reduce the attackable surface area of a system,
SQL Server selectively installs and enables key services and features.
For more information, see Understanding Surface Area Configuration on MSDN.
Tasks
Concepts
Install SQL Server 2012 from the Command Prompt
Installation for SQL Server 2014
Topic Status: Some information in this topic is pre-release
and subject to change in future releases. Pre-release information
describes new features or changes to existing features in Microsoft SQL
Server 2014.
The SQL Server Installation Wizard provides a single feature tree to install all SQL Server components:
-
Database Engine
-
Analysis Services
-
Reporting Services
-
Integration Services
-
Master Data Services
-
Data Quality Services
-
Management tools
-
Connectivity components
Reference
Concepts
For download of any of these soft-wares, please do visit the Link now http://www.microsoft.com/en-us/sqlserver/get-sql-server/try-it.aspx
No comments:
Post a Comment