?
Solved

how to open sql database on different computer with different sql express

Posted on 2013-05-21
4
Medium Priority
?
289 Views
Last Modified: 2013-05-22
A client of mine was running a software package called Console Gateway that used a SQL express 2008 r2 database and the server's mainboard died.

I've installed a new server that is 64-bit and have installed SQL express 2008 R2 64-bit.  And have copied across all of the important data from the old hard drive.
How can I open/attach the database (I have the entire directory it resides in) on this server to use with the Console Gateway software?

I'm not too familiar with Microsoft SQL...
0
Comment
Question by:Reece Dodds
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Surendra Nath
ID: 39186459
let us say that your new server is ServerA and the Console Gateway is installed on ServerB.

As long as ServerB is able to ping to ServerA ( open command prompt in serverB and type ping <ip address of ServerA>, if you get recevied packets... then you are able to ping to that server).

If the above condition is satisfied, then you have to change the connection setting in your console gateway, to change it from old server to the new one.
0
 
LVL 7

Author Comment

by:Reece Dodds
ID: 39186623
ServerB has the dead mobo and will not turn on.  Thus the extraction of data from the hard drive to the new server (A).  What I have is the folders full of data, one of which contains the MDF/LDF files.
0
 
LVL 2

Accepted Solution

by:
Psihawk99 earned 2000 total points
ID: 39188596
You probably first need to load SQL Management studio on the new server.  Once complete, you should be able to login to the new SQL Express you installed on this box.   Once in, you just need to rightclick on the database folder and choose Attach.   From there a wizard should open up prompting you for the MDF and LDF file names.
0
 
LVL 7

Author Closing Comment

by:Reece Dodds
ID: 39189480
Thanks buddy.

Took a while for the client to locate security credentials. But the database is attached now and I've used the Console software's "new instance" utility to get it running again.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question