Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesDatabase Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 6th, 2004, 11:21 AM
basscollection basscollection is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 2 basscollection User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Drop database... annoying

Just started with MySQL and try to get to grips with it, after
doing quite a lot of access and SQL server. I created a test db
called 'sales' which I now want to drop - but this is simply not possibe.
Tried it with the command prompt (Win XP) and with the MySQLcc
in both cases I get a confirmation that all OK. But when I disconnect
and connect again the db is still there... By the way, I managed to drop
all tables... thanks for advice nothing major but grrrr... What do I overlook?

Reply With Quote
  #2  
Old April 6th, 2004, 02:52 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Chances are that your user simply doesn't have privileges to drop whole databases.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
  #3  
Old April 8th, 2004, 04:17 AM
basscollection basscollection is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 2 basscollection User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thank you dhouston, but in this case I believe there would be an appropriate message regarding 'access denied' or so? Here is what I do in the command prompt:

mysql> drop database sales;
Query OK, 0 rows affected (0.00 sec)
mysql> create database sales;
ERROR 1007: Can't create database 'sales'. Database exists

By the way - all the tables from database sales are deleted with this action...
regards

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Drop database... annoying


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway