Finding a Database on my hard drive

I have developed a table called RESTAURANT1 which is in a Database called TEST4. I connect to it with references to:

$servername = “localhost”;
$username = “root”;
$password = “”;
$dbname = “test4”;

I understand that databases end in .MDF.

I have done a search on my hard drive for TEST4,MDF and I can find nothing.

Maybe I am using the wrong suffix.

I need to know the location of the Database in order to connect it with Microsoft SQL Server Management Studio.

Mike Smith

Depending on what you’re using depends on the extension:

You using a comma or period? It should be a period. But you can also perform a wildcard search:. *.mdf

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.