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

Backup and Restore DB MySql

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.2.13
    • N/A
    • Backup
    • None
    • windows server 2012 R2

    Description

      Воспроизводиться
      1. Создаем пользователя
      CREATE USER 'user'@'%';
      GRANT ALL PRIVILEGES ON . TO 'user'@'%';
      SET PASSWORD FOR 'user'@'%' = PASSWORD ('test');
      2. Делаем backup базы
      mysqldump.exe -u root -p MySQL > MySql.sql
      3. Удаляем mariaDB и данные
      4. Наново устанавливаем mariaDB
      5. Импортируем
      mysql.exe -u root -p MySql < MySql.sql
      6. Пытаемся выполнить команду SET PASSWORD FOR 'user'@'%' = PASSWORD ('test');
      получаем ошибку ERROR 1133 (28000): Can't find any matching row in the user table или можно попробовать войти под этим пользователем - тоже дает ошибку.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            Sergey_W Sergii Volikov
            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.