Question

I have a mysql database with lots of tables and records in it. I want to get the list of queries which were used to create tables , insert records etc in that mysqldb. Is it possible. I have seen it in Oracle sql developer. If we click on the table we can view the queries which we have used, for DDL. How to do that in msyql. I am using mysql command line client.

No correct solution

OTHER TIPS

You could use the mysqldump-utility for that

In Linux:

mysqldump my_database_name >dumpfile.sql
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top