Académique Documents
Professionnel Documents
Culture Documents
Table of contents:
1 2 3 4 5 6 Important steps for installing SQL Server 2005 ............................................................................................... 2 Final configuration steps for SQL Server 2005 ................................................................................................ 4 Configuration of existing SQL Server 2005 installations ................................................................................. 6 Important steps for installing SQL Server 2008 ............................................................................................... 8 Final configuration steps for SQL-Server 2008 .............................................................................................. 12 Configuration of existing SQL Server 2008 installations ................................................................................ 14
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 website http://technet.microsoft.com/engb/library/ms144228.aspx.
TeamViewer 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.
Registration Information In the installation step Registration Information you would have to uncheck the checkbox Hide
Instance Name In the installation step Instance Name you can choose between Default instance and Named
Service Account Please activate the checkbox SQL Browser in the installation step Service Account.
Navigate to the node [Instance Name] | Database Engine | Remote Connections in the tree structure on the left side. Activate Local and remote connections as well as the sub item Using both TCP/IP and named pipes and click on Apply.
Switch back to [Instance Name] | Database Engine | Service and then click on Stop and Start one after
another to restart the SQL server and for the changes to take effect. Click on OK to close the dialog.
If 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-R to open the Run... dialog. Enter regedit and press Enter. Navigate to the following node: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer Change the value for LoginMode in DWORD to '2'. Press Windows-R to open the Run... dialog. Enter services.msc and press Enter to open the Services console. Navigate to the list item SQL Server [Instance Name]. Select Restart from the context menu (right mouse button).
How to activate the SQL Server Login 'sa' Press Windows-R to open the Run... dialog. Enter cmd and press Enter to open the console. Enter sqlcmd S localhost\[Instance Name]. The instance name can be found e.g. in Services in the
Control Panel. In the SQL Server 2005 Express Edition the default instance name is: SQLEXPRESS.
After that, please enter the following commands:
How to activate the SQL Server Browser service: Press Windows-R to open the Run... dialog. Enter services.msc and press Enter to start the Services. Navigate to the list item SQL Server-Browser. Select Start from the context menu if the service has not been started yet.
Afterwards, please perform the steps as explained in step 2 Final configuration steps for SQL Server 2005 to ensure that a remote access to the server is possible.
Instance Configuration 8
In the step Instance Configuration you can choose between Default instance and 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 Express Edition, 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 Type of the option SQL Server Browser to Automatic.
10
Database Engine Configuration In the step Database Engine Configuration you would select the Mixed Mode and 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, please click 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.
11
After the installation of the Microsoft SQL-Server 2008 the clients have to be enabled to access the SQL server:
12
Afterwards restart the services SQL Server [INSTANCE NAME] und SQL Server Browser. (Start | Control Panel | Administrative Tools | Services)
13
How to activate the SQL Server Login 'sa': Press Windows-R to open the Run... dialog. Enter cmd and press Enter to open the console. Enter sqlcmd S localhost\[Instance Name]. The instance name can be found e.g. in Services in the
Control Panel. In SQL Server 2005 Express Edition the default instance name is: SQLEXPRESS.
After that, please enter the following commands:
14
How to activate the SQL-Server Browser service: Press Windows-R to open the Run... dialog. Enter services.msc and press Enter to start the Services. Navigate to the list item SQL Server-Browser. Select Start from the context menu if the service has not been started yet.
Afterwards, please perform the steps as explained in step 5 Final configuration steps for SQL-Server 2008 to ensure that a remote access to the server is possible.
15