Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34395

Binary mode import breaks with /*!999999\- enable the sandbox mode */

    XMLWordPrintable

Details

    Description

      Hi,

      When issues --binary-mode to the mariadb client it is unable to import a dump file created with the latest 10.6 version:

      [root@host dba-toolkit]# cat /tmp/blaaa | mysql --host=localhost --user=root --password='' --binary-mode --init-command='SET SESSION SQL_LOG_BIN = 0; SET GLOBAL log_bin_trust_function_creators=1;' mysql
      ERROR at line 1: Unknown command '\-'.
      

      When not specifying --binary-mode, the same command works.

      I suggest to prioritize this as a blocker because it breaks all kind of automation.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michaeldg Michaël de groot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.