Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mysql .mfd & .ldf

  1. Apr 5, 2007 #1

    I have never used SQL before and I have a .mdf & a .ldf file and I need to change some parameters. Is there a way to view them like an Access Database?

    I have Microsoft SQL Server 2005, but to my knowledge there is no utility included to access these files.

  2. jcsd
  3. Apr 5, 2007 #2


    User Avatar
    Science Advisor

    Since you have SQL 2005 installed, you can use the Microsoft SQL Server 2005 Management Studio. If you don't have the Management Studio you can install it from the SQL Server 2005 Installer or download a CTP version from Microsoft.

    Using the Management Studio, Connect to your local instance of SQL Server, then on the right pane (the object explorer) right-click on the Databases folder and click "Attach...".

    Specify the location of your database file (the .mdf) and the log file (the .ldf)
    The database will then show up under the databases folder. You'll be able to browse its tables, perform queries, etc.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook