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 > Problem dropping database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-10-06, 13:54
adamz23 adamz23 is offline
Registered User
 
Join Date: Jan 2006
Posts: 1
Problem dropping database

Hello,

I have a question about dropping MySQL databases. I backup my databases using the following command:

mysqldump db_name | gzip > db_name.gz


I can scp the file to another server (Server B) and restore the database by executing the following 2 commands:

mysqladmin create db_name
gunzip < db_name.gz | mysql db_name


If I drop the database on Server B, the following message is displayed:

Database "db_name" dropped


But the database still shows up when I issue the following command:

mysqlshow


So my question is, why isnt the database being dropped?
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