If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL noob needs help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-17-04, 11:30
neyoung neyoung is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
MySQL noob needs help

ok, I have spent the last few hours learning how to make databases, tables and records and all that fun stuff. Then of course I want to make a webpage that can access those databases. I looked into the grant command and thought that I was using it incorrectly, but it turns out that I do not have a mysql database! It my have gotten deleted a while ago when I was playing around and didn't know anything Other than the databases I have created the only other one there is test. Is there a way that I can get the mysql database back? Or am I going to have to reinstall mysql to fix this?

When I do the SHOW DATABASES command the only databases that are shown are:

test
play

I think that the 'mysql' database got deleeted somehow Is there a way to recreate the default database?
Reply With Quote
  #2 (permalink)  
Old 04-17-04, 13:02
neyoung neyoung is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
well I was able to get the 'mysql' database back using the mysql_install_db comman.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On