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.

没有正确的解决方案

其他提示

You could use the mysqldump-utility for that

In Linux:

mysqldump my_database_name >dumpfile.sql
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top