Results 1 to 5 of 5

Thread: [RESOLVED] SQL Server 2008: Problem in locating the database location

  1. #1

    Thread Starter
    Fanatic Member louvelle's Avatar
    Join Date
    Jun 2008
    Posts
    513

    Resolved [RESOLVED] SQL Server 2008: Problem in locating the database location

    Hi guys. I have a question.

    I'm trying to locate the database in the SQL Server. Normally I can access the database in "Windows Authentication" mode (I think), but I'm having a little trouble in locating the database in "SQL Server Authentication".

    The default location for the databases is "C:\Program Files\Microsoft SQL Server\MSSQL10_50.IDDMSSQLSERVER\MSSQL\DATA" and the problem is that I'm unable to find this default location. I've tried almost everything that I know and I'm having a lot of trouble in what key words do I need to use in google to search for the answer in my problem.

    I was planning to update the database and the options that I have right now is to:

    1.) Detach the database that I needed to update
    2.) Copy the entire database and move all the data into another database.

    The first option is actually a bad idea and I'm planning on using the 2nd option.

    I hope you guys could help me in my problem.

    Manny Pacquiao once posted in his twitter:
    It doesn't matter if the grammar is wrong, what matter is that you get the message

  2. #2
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: SQL Server 2008: Problem in locating the database location

    I'm not sure I really understand the question. Are you just trying to work out what the file path to your mdf and ldf files are? If so just open the databases properties in Management Studio and the file paths are on the Files tab. Or are you perhaps having trouble logging in?
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  3. #3

    Thread Starter
    Fanatic Member louvelle's Avatar
    Join Date
    Jun 2008
    Posts
    513

    Re: SQL Server 2008: Problem in locating the database location

    Thanks for the reply.

    Yes, I'm looking for the MDF files that I needed. I went to the database settings to check the default location of the database. After that, I copied that location and went to my local disk to locate that path. But I'm unable to find those MDF files because the folder "MSSQL10_50.IDDMSSQLSERVER" is missing. The folders that I can see right now in there are "80", "90", "100", "110" and the "MSSQL10.SQLEXPRESS".

    I thought that maybe the folder was hidden so I went to the folder options to unhide those missing folders but the result is still the same and I'm still unable to access those MDF files that I need.

    Manny Pacquiao once posted in his twitter:
    It doesn't matter if the grammar is wrong, what matter is that you get the message

  4. #4
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: SQL Server 2008: Problem in locating the database location

    What do you mean by the "default" location? If you look at the files tab of the database properties page you are shown the actual location in the "Path" field. If the files weren't in that location the database would not function.

    edit> Wait, are you looking at the Database Settings tab of the Server properties? That has default locations but that's not where I'm telling you to look. Instead check the properties of the specific database you're interested in.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  5. #5

    Thread Starter
    Fanatic Member louvelle's Avatar
    Join Date
    Jun 2008
    Posts
    513

    Re: SQL Server 2008: Problem in locating the database location

    Thanks for the assist Funky Dexter. I've found the root of my problem. The SQL Server is actually connected into another different computer because the computer name in its properties is different from the computer name that I'm using. This problem is now solved. Now, my problem is where that computer is located. Haha...

    Thanks again!

    Manny Pacquiao once posted in his twitter:
    It doesn't matter if the grammar is wrong, what matter is that you get the message

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width