I recently tried to import a large amount of data into a table and afterwards it was corrupted. Mysql would crash if I tried to access a certain table. I tried for hours but couldn't fix it so now I am trying to rebuild it from the backups I had.
I couldn't drop the table with mysql because that would cause a crash, so I deleted the data files in the mysql folder (I am running Windows fyi). However, the database seems to continue residing SOMEWHERE. In mysql console I can still use the database, although the tables don't exist when I run queries. It shows up in the list of databases in phpMyAdmin as well. If I try to drop the database, mysql crashes.
How can I manually delete EVERYTHING from a database? What steps am I missing?
Thanks for your help.
I couldn't drop the table with mysql because that would cause a crash, so I deleted the data files in the mysql folder (I am running Windows fyi). However, the database seems to continue residing SOMEWHERE. In mysql console I can still use the database, although the tables don't exist when I run queries. It shows up in the list of databases in phpMyAdmin as well. If I try to drop the database, mysql crashes.
How can I manually delete EVERYTHING from a database? What steps am I missing?
Thanks for your help.