Download Locating a Local SQL Database to a Networked Position

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Commitment ordering wikipedia , lookup

Serializability wikipedia , lookup

DBase wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Tandem Computers wikipedia , lookup

IMDb wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Microsoft Access wikipedia , lookup

Functional Database Model wikipedia , lookup

Oracle Database wikipedia , lookup

Btrieve wikipedia , lookup

Ingres (database) wikipedia , lookup

Concurrency control wikipedia , lookup

Database wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

SQL wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Database model wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Relational model wikipedia , lookup

PL/SQL wikipedia , lookup

ContactPoint wikipedia , lookup

Clusterpoint wikipedia , lookup

Transcript
Software Skill Sheet
Locating a Local
SQL Database to a
Networked Position
First we must release the database so that it can be copied. Close all applications that could
access the database. This would be TrussFramer and/or configuration editor.
Go to Control Panel | Administrative tools and select services
This document discusses the
steps to take a local SQL
database to a networked shared
position. This concept
essentially allow the user to
take a local Desktop version of
SQL and take it to SQL Server.
The scenario where this would
become valuable is when a user
installs TrussFramer to a local
copy and sets up all defaults
and settings. They would then
like to take those settings and
migrate them to a SQL Server
so they can be shared with all
users in a networked
environment.
Right click the appropriate SQL server instance and select stop. The default name is
MSSQL$OFS. If you chose a different name on install, select that.
MiTek Training Center
Product: MiTek 20/20
Skill Sheet:
Last Update: 12/1/2006
Page 1 of 5
Software Skill Sheet
Once you have stopped the service you can copy the local database to the server.
Locating a Local
SQL Database to a
Networked Position
The normal location for the database is shown below. The folder name that contains the data
should match the service name in the services manager.
In this case I will copy the ldf and the mdf for the TrussFramer database. This was the name I
chose for the database at time of install. This could also simply be OFS.
Open configuration editor and view the local database option for the name of the database.
MiTek Training Center
Product: MiTek 20/20
Skill Sheet:
Last Update: 12/1/2006
Page 2 of 5
Software Skill Sheet
Locating a Local
SQL Database to a
Networked Position
MiTek Training Center
Product: MiTek 20/20
Copy the two database files to the network SQL server data location. The default path is
shown below.
Skill Sheet:
Last Update: 12/1/2006
Page 3 of 5
Software Skill Sheet
Locating a Local
SQL Database to a
Networked Position
Open the SQL Enterprise Manager.
Right click on Databases and select the Attach Database option as shown.
Select the ellipsis button for the MDF file of the database to attach and select the copied mdf
file.
Set the owner of the database to sa if it is not already set to that value.
MiTek Training Center
Product: MiTek 20/20
Skill Sheet:
Last Update: 12/1/2006
Page 4 of 5
Software Skill Sheet
Locating a Local
SQL Database to a
Networked Position
This shows the database successfully attached to the SQL Server.
You will need to set all of the users and access rights.
Do not forget to turn the services back on for the local user.
MiTek Training Center
Product: MiTek 20/20
Skill Sheet:
Last Update: 12/1/2006
Page 5 of 5