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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.