tags:

views:

29

answers:

2

what is the best way to delete database from windows mysql?I tried DELETE DATABASE phone but it doesn't work.

+1  A: 

Use DROP DATABASE:

DROP DATABASE phone

There is no way to recover the data once you have dropped the database so take a backup of your data if you are in any doubt about what you are doing.

Mark Byers
I have the files on my pc. I am running those files on windows.
shilps
By the way, from where do i store the data when I need to delete something? Is it in the C: directory?
shilps
A: 
DROP DATABASE phone
Māris Kiseļovs