Suggest a way to delete all the tables and make MySQL database empty in JavaFX -
I have developed a project in JavaFX. It has a back-end mysql for my project I have created a database called 'project'. MySQL now has 8 tables in this database. I want to clear the database when a button is pressed, not all the tables, all tables Removes. Should I vacate each table and remove them or is there any other easy way to clean the database?
Easiest way:
drop database project; Create a database project; Long way: Show the tab from the project; and
run again through the tables with the drop table project. & Lt; Tablename & gt;
Comments
Post a Comment