дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 01:57:13 +02:00
feat(database): export with mysqldump and restore with mysql (#4001)
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 <[email protected]>
Цей коміт міститься в:
1 джерело
31466f2834
коміт
318f4a2d82
20 files changed
+1545
-115
No files matched your search
@@ -1425,7 +1425,8 @@
|
||||
}
|
||||
.dumpPreview {
|
||||
grid-column: 1 / -1;
|
||||
max-height: 96px;
|
||||
flex: none;
|
||||
height: 96px;
|
||||
overflow: auto;
|
||||
padding: 6px 8px;
|
||||
border: 1px solid var(--border);
|
||||
|
||||
Reference in new issue
Заблокувати користувача