Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
11.8.4
-
None
-
Not for Release Notes
-
Data imports to wrong database
Description
I have working db named dw
I needed something from a backup file, I created database named import. the backup file named dw
- mariadb -uroot -p import < dw
This imported data into database dw (not import) so I had to restore a backup loosing 12h.
Edit, i realised the backup file must have drop db, create db added to it.
CREATE DATABASE /!32312 IF NOT EXISTS/ `dw` /*!40100 DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci */;
USE `dw`;
Attachments
Issue Links
- is duplicated by
-
MDEV-40885 maridb imported to wrong database
-
- Closed
-