|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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? |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Database Development > Drop database... annoying |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|