Is there a good way to perform SQL dump of MySQL database in DataGrip?

試著忘記壹切 提交于 2021-01-27 02:54:05

问题


I'm trying to use JetBrains DataGrip as my primary DB tool. However, I still find myself using SequelPro for SQL Dump. Here is why:

On a database level, I couldn't find any SQL dump functionality. The only options seems to be "copy DDL", which copies the schema, but not the content.

On a table level, sure, I can export data as SQL Inserts. But then it seems the only way to do so is to export it from each table separately, which is unacceptable. Another downside is, when exporting data as INSERT, it creates a separate INSERT statement for each row.

I tried to look for plugins, but couldn't find any. DataGrip users, if you came up with any solutions, please let me know. Sequel Pro works like a charm, but I really would love to use one database client at the end of the day.

PS. SSHing to a server and running sqldump is not an option for me, for various security reasons.


回答1:


In 2016.2 there is some functionality, check like in screenshot. 2016.3 will be integrated with mysqldump.



来源:https://stackoverflow.com/questions/38061236/is-there-a-good-way-to-perform-sql-dump-of-mysql-database-in-datagrip

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!