Hello,

What's mysql syntax to delete all tables from database1 ?

The simplest way is that you have to drop the database and recreate it :)

DROP TABLE table_namE TO DROP A TABLE BUT IF YOU WANT ALL THE TABLE TOBE DELETED szabizs SUGGESTION IS BETTER.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.