Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.5.25, 10.11.8, 10.6.18
-
None
Description
Latest MariaDB prepends sandbox mode enable command in the dumps:
$ mysqldump database_name | head -n 1
|
/*!999999\- enable the sandbox mode */
|
Dump with this prefix can not be restored when `--binary-mode` flag is used:
$ mysqldump database_name | mysql --binary-mode another_db
|
ERROR at line 1: Unknown command '\-'.
|
Is there a way to opt-out of sandbox mode when creating a dump?
Attachments
Issue Links
- is caused by
-
MDEV-33727 mariadb-dump trusts the server and does not validate the data
-
- Closed
-
- is duplicated by
-
MDEV-34395 Binary mode import breaks with /*!999999\- enable the sandbox mode */
-
- Closed
-
Sorry guys, I'm a bit confused on what I need to do to resolve the issue for myself. My server is currently running 10.6.18 which is affected. My local dev-server is running 11.1.2.
My bug occurs when trying to import a dump created on the server (10.6.18) to my local server (11.1.2).
If I upgrade my server to 10.6.19, will the dump files return to compatibility with my local server or will I need to update my local server as well?