Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2111

After SET PASSWORD done on the database, MaxScale not able to connect

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.2.15
    • 2.2.16
    • Authenticator
    • None
    • RHEL 7.x MariaDB 10.3.x
    • MXS-SPRINT-69

    Description

      MariaDB SET PASSWORD saves the password in mysql.user.authentication_string field and MaxScale is looking at mysql.user.password field for authentication.

      MariaDB [(none)]> select user, password, authentication_string from mysql.user;
      +------------+-------------------------------------------+-----------------------+
      | user       | password                                  | authentication_string |
      +------------+-------------------------------------------+-----------------------+
      | root       |                                           |                       |
      | root       |                                           |                       |
      | root       |                                           |                       |
      | root       |                                           |                       |
      |            |                                           |                       |
      |            |                                           |                       |
      | migration  | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |                       |
      | migration  | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |                       |
      | migration  | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |                       |
      | las        | *9677B3E0EA32E863BCE766756E363CF03A6C7E4C |                       |
      | las        | *9677B3E0EA32E863BCE766756E363CF03A6C7E4C |                       |
      | eclaimsadm | *9677B3E0EA32E863BCE766756E363CF03A6C7E4C |                       |
      +------------+-------------------------------------------+-----------------------+
      12 rows in set (0.000 sec)
       
      MariaDB [(none)]> SET PASSWORD FOR las@'%' = PASSWORD('test');
      Query OK, 0 rows affected (0.000 sec)
       
      MariaDB [(none)]> select user, password, authentication_string from mysql.user;
      +------------+-------------------------------------------+-------------------------------------------+
      | user       | password                                  | authentication_string                     |
      +------------+-------------------------------------------+-------------------------------------------+
      | root       |                                           |                                           |
      | root       |                                           |                                           |
      | root       |                                           |                                           |
      | root       |                                           |                                           |
      |            |                                           |                                           |
      |            |                                           |                                           |
      | migration  | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |                                           |
      | migration  | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |                                           |
      | migration  | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |                                           |
      | las        | *9677B3E0EA32E863BCE766756E363CF03A6C7E4C |                                           |
      | las        |                                           | *94BDCEBE19083CE2A1F959FD02F964C7AF4CFC29 |
      | eclaimsadm | *9677B3E0EA32E863BCE766756E363CF03A6C7E4C |                                           |
      +------------+-------------------------------------------+-------------------------------------------+
      12 rows in set (0.000 sec)
       
      MariaDB [(none)]>
      

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              Faisal Faisal Saeed (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 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.