sqlserver configuration en
TRANSCRIPT
-
7/29/2019 SQLServer Configuration En
1/15
2012 TeamViewer GmbH, as of 09/2012
Installation and configuration of Microsoft SQL-Server
for TeamViewer Manager
Table of contents:
1 Important steps for installing SQL Server 2005 ............................................................................................... 2
2 Final configuration steps for SQL Server 2005 ................................................................................................ 4
3 Configuration of existing SQL Server 2005 installations ................................................................................. 6
4 Important steps for installing SQL Server 2008 ............................................................................................... 8
5 Final configuration steps for SQL-Server 2008 .............................................................................................. 12
6 Configuration of existing SQL Server 2008 installations ................................................................................ 14
-
7/29/2019 SQLServer Configuration En
2/15
2
Important: For security reasons, Microsoft recommends that you do not install SQL Server on a domain
controller.
You can find further information on the following websitehttp://technet.microsoft.com/en-
gb/library/ms144228.aspx.
1 Important steps for installing SQL Server 2005TeamViewer Manager uses SQL server authentication for accessing the database. During the installation, please
activate Mixed Modewhich enables both Windows Authentication and SQL server authentication.
Moreover, when using Named Instances the SQL-Browser service has to be started.
The following pages illustrate the relevant steps for making the required setting during the installation process.
Registration Information
In the installation step Registration Information
you would have to uncheck the checkbox Hide
advanced configuration options to be able to take
the necessary configuration steps.
http://technet.microsoft.com/en-gb/library/ms144228.aspxhttp://technet.microsoft.com/en-gb/library/ms144228.aspxhttp://technet.microsoft.com/en-gb/library/ms144228.aspxhttp://technet.microsoft.com/en-gb/library/ms144228.aspxhttp://technet.microsoft.com/en-gb/library/ms144228.aspxhttp://technet.microsoft.com/en-gb/library/ms144228.aspx -
7/29/2019 SQLServer Configuration En
3/15
3
Instance Name
In the installation step Instance Nameyou can
choose between Default instanceand Named
instance. When choosing Named instanceplease
enter the instance name - it will be needed for the
configuration of the TeamViewer Manager
database later on.
(Instance names allow multiple parallel
installations of Microsoft SQL Server.
In case you use the Express Edition, the standard
instance name is SQLEXPRESS.)
Service Account
Please activate the checkbox SQL Browserin the
installation step Service Account.
Authentication Mode
In the step Authentication Modeplease select
Mixed Modeand set a password (system
administrator account). This information will be
needed later on for the database configuration of
TeamViewer Manager.
Please proceed with the next steps and finish the
installation.
-
7/29/2019 SQLServer Configuration En
4/15
4
2 Final configuration steps for SQL Server 2005After the installation of Microsoft SQL-Server 2005 please make sure that remote computers can access the SQL
server.
Open the SQL Server 2005-Surface Area Configuration(Start | All Programs | Microsoft SQL Server 2005 | Configuration Tools | SQL Server-Surface Area
Configuration)
Please click on Surface Area Configuration for Services and Connections
-
7/29/2019 SQLServer Configuration En
5/15
5
Navigate to the node[Instance Name] | Database Engine | Remote Connectionsin the tree structure onthe left side.
Activate Local and remote connectionsas well as the sub item Using both TCP/IP and named pipesand click on Apply.
Switch back to [Instance Name] | Database Engine | Serviceand then click on Stopand Startone afteranother to restart the SQL server and for the changes to take effect. Click on OKto close the dialog.
Detailed information by Microsoft can be found at:
http://support.microsoft.com/kb/914277
http://support.microsoft.com/kb/914277http://support.microsoft.com/kb/914277http://support.microsoft.com/kb/914277 -
7/29/2019 SQLServer Configuration En
6/15
6
3 Configuration of existing SQL Server 2005 installationsIf you would like to use an existing installation of SQL Server 2005 you might have to change some settings as
described below:
How to activate the Mixed Mode:
Press Windows-Rto open the Run... dialog. Enter regeditand press Enter. Navigate to the following node: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
Server\MSSQL.1\MSSQLServer
Change the value for LoginModein DWORD to '2'. Press Windows-Rto open the Run... dialog. Enter services.mscand press Enterto open the Servicesconsole. Navigate to the list item SQL Server [Instance Name]. Select Restartfrom the context menu (right mouse button).
How to activate the SQL Server Login 'sa'
Press Windows-Rto open the Run... dialog. Enter cmdand press Enterto open the console. Enter sqlcmd S localhost\[Instance Name]. The instance name can be found e.g. in Servicesin the
Control Panel. In the SQL Server 2005 Express Edition the default instance name is: SQLEXPRESS.
After that, please enter the following commands:
-
7/29/2019 SQLServer Configuration En
7/15
7
How to activate the SQL Server Browser service:
Press Windows-Rto open the Run... dialog. Enter services.mscand press Enterto start the Services. Navigate to the list item SQL Server-Browser. Select Startfrom the context menu if the service has not been started yet.
Afterwards, please perform the steps as explained in step2 Final configuration steps for SQL Server 2005to
ensure that a remote access to the server is possible.
-
7/29/2019 SQLServer Configuration En
8/15
8
4 Important steps for installing SQL Server 2008TeamViewer Manager uses SQL server authentication for accessing the database. During the installation, please
activate Mixed Mode which enables both Windows Authentication and SQL server authentication.
Moreover, when using Named Instances the SQL Browser service has to be started.
The following pages illustrate the relevant steps for making the required setting during the installation process.
Feature Selection:
In the step Feature Selectionyou would have to activate the check box Database Engine Servicesin order to
enable a controlled access to your data, a fast processing of all transactions as well as to maintain a high
availability.
Instance Configuration
-
7/29/2019 SQLServer Configuration En
9/15
9
In the step Instance Configurationyou can choose between Default instanceand Named instance. When
choosing a Named instance, please note down the instance name - it will be needed for the configuration of the
TeamViewer Manager database later on.
Instance names allow multiple parallel installations of Microsoft SQL Server. In case you use the ExpressEdition, the standard instance name is SQLEXPRESS.
Server Configuration
In the step Server Configuration, please click on "Use the same account for all SQL server services"and select
the option NT AUTHORITY\LOCAL SERVICE in the field Account Name.
Now please set the Startup Typeof the option SQL Server Browserto Automatic.
-
7/29/2019 SQLServer Configuration En
10/15
10
-
7/29/2019 SQLServer Configuration En
11/15
11
Database Engine Configuration
In the step Database Engine Configurationyou would select the Mixed Modeand enter a password for the
system administrator account. Then please specify a SQL Server-Administrator. If the current user is supposed
to be added as a SQL Server-Administrator then please press Add Current User. To add a user manually, pleaseclick on Add... This information will be needed for the configuration of the TeamViewer Manager database later
on.
Please proceed with the next steps and finish the installation.
-
7/29/2019 SQLServer Configuration En
12/15
12
5 Final configuration steps for SQL-Server 2008After the installation of the Microsoft SQL-Server 2008 the clients have to be enabled to access the SQL server:
Open the Sql Server-Configuration-Manager(Start | All Programs | Microsoft SQL Server 2008 | Configuration Tools | Sql Server-Configuration-
Manager)
Click on SQL Server-Network Configuration. Please select Protocols for [Instance Name]and activatethe protocols Shared Memory, Named Pipes and TCP/IPby doing a right click on the respective
protocol and select Activatein the context menu.
-
7/29/2019 SQLServer Configuration En
13/15
13
Afterwards restart the services SQL Server [INSTANCE NAME]und SQL Server Browser. (Start | Control Panel | Administrative Tools | Services)
Detailed information by Microsoft can be found at:
http://msdn.microsoft.com/en-us/library/ms174212.aspx
http://msdn.microsoft.com/en-us/library/ms174212.aspxhttp://msdn.microsoft.com/en-us/library/ms174212.aspxhttp://msdn.microsoft.com/en-us/library/ms174212.aspx -
7/29/2019 SQLServer Configuration En
14/15
14
6 Configuration of existing SQL Server 2008 installationsIf you would like to use an existing installation of SQL Server 2008 you might have to change some settings as
described below:
How to activate the Mixed Mode:
Press Windows-Rto open the Run... dialog. Enter regeditand press Enter. Navigate to the following node: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
Server\MSSQL10.[INSTANCE NAME]\MSSQLServer
Change the value for LoginModein DWORD to '2'. Press Windows-Rto open the Run... dialog. Enter services.mscand press Enterto open the Servicesconsole. Navigate to the list item SQL Server [Instance Name]. Select Restartfrom the context menu (right mouse button).
How to activate the SQL Server Login 'sa':
Press Windows-Rto open the Run... dialog. Enter cmdand press Enterto open the console. Enter sqlcmd S localhost\[Instance Name]. The instance name can be found e.g. in Servicesin the
Control Panel. In SQL Server 2005 Express Edition the default instance name is: SQLEXPRESS.
After that, please enter the following commands:
-
7/29/2019 SQLServer Configuration En
15/15
15
How to activate the SQL-Server Browser service:
Press Windows-Rto open the Run... dialog. Enter services.mscand press Enterto start the Services. Navigate to the list item SQL Server-Browser. Select Startfrom the context menu if the service has not been started yet.
Afterwards, please perform the steps as explained in step5 Final configuration steps for SQL-Server 2008to
ensure that a remote access to the server is possible.