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

mysql_upgrade failed

    XMLWordPrintable

Details

    Description

      mysql_upgrade command is failing with below error on 10.11.7 version.

      my.cnf character/collation configuration:

      [mysqld] 
      character-set-server=utf8 
      collation-server=utf8_unicode_ci
      

      Output:

      # mysql_upgrade --force
      Phase 1/8: Checking and upgrading mysql database
      Processing databases
      mysql
      mysql.column_stats                                 OK
      mysql.columns_priv                                 OK
      mysql.db                                           OK
      mysql.event                                        OK
      mysql.func                                         OK
      mysql.global_priv                                  OK
      mysql.gtid_slave_pos                               OK
      mysql.help_category                                OK
      mysql.help_keyword                                 OK
      mysql.help_relation                                OK
      mysql.help_topic                                   OK
      mysql.index_stats                                  OK
      mysql.innodb_index_stats                           OK
      mysql.innodb_table_stats                           OK
      mysql.plugin                                       OK
      mysql.proc                                         OK
      mysql.procs_priv                                   OK
      mysql.proxies_priv                                 OK
      mysql.roles_mapping                                OK
      mysql.servers                                      OK
      mysql.table_stats                                  OK
      mysql.tables_priv                                  OK
      mysql.time_zone                                    OK
      mysql.time_zone_leap_second                        OK
      mysql.time_zone_name                               OK
      mysql.time_zone_transition                         OK
      mysql.time_zone_transition_type                    OK
      mysql.transaction_registry                         OK
      Phase 2/8: Installing used storage engines... Skipped
      Phase 3/8: Running 'mysql_fix_privilege_tables'
      ERROR 1267 (HY000) at line 3127: Illegal mix of collations (utf8mb3_general_ci,IMPLICIT) and (utf8mb3_unicode_ci,IMPLICIT) for operation '='
      ERROR 1267 (HY000) at line 3176: Illegal mix of collations (utf8mb3_general_ci,IMPLICIT) and (utf8mb3_unicode_ci,IMPLICIT) for operation '='
      FATAL ERROR: Upgrade failed

      Attachments

        Activity

          People

            bar Alexander Barkov
            mathnao mathnao
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.