mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
MySQL and MariaDB data sources, schemas and tables get Import/Export > Export with 'mysqldump' and Restore with 'mysql'. ide-db builds the arguments from typed options and runs the tool connected like the data source (TCP, the driver's SSL flags, the SSH tunnel); the password goes in a user-only temporary option file passed as --defaults-extra-file and removed after the run. Restore pipes the dump into mysql's standard input. Restore dialogs (MySQL and PostgreSQL) now check the target first: the Database field lists the source's databases and disables Run for a missing one, and db_dump_info (formerly db_dump_kind) reports whether an SQL dump creates its database itself. pg_restore gains --create. Part of #3188 Co-authored-by: EjaYF <9842286+EjaYF@users.noreply.github.com>