Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Question: Finding mySQL Default DB on Server

Status
Not open for further replies.

mtorbin

Technical User
Nov 5, 2002
369
US
Hey all,

I'm VERY new to mySQL. How can I find the default DB on the server (RH Linux)? I need to find the right information to plug into the admin tool.

Thanks,

- MT
 
I'm not sure what a default db would be. Usually the databases are stored in /var/lib/mysql/{database name}. as far as a default, maybe someone else might know.

Mark

SELECT * FROM management WHERE clue > 1
> 0 rows returned

--ThinkGeek T-Shrit
 
There isn't a default. MySQL has two databases that are created at installation: mysql and test. Specifying either of those, or any other database, will probably satisfy the admin program.
 
OK, so I've found my setup, created a db and backed it up to a .sql document. That document, does it matter where on my web site I put it (as in the cgi docs have to be in the cgi-bin folder)? Please advise. The next step, I believe, would be to get my connection strings set up and then test it out.

- MT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top