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

Single character wildcard doesn't work in MaxScale

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.2.1
    • 1.3.0
    • Core
    • None

    Description

      Single character wildcard in the IP address of a grant, i.e. _, does not work. MaxScale confuses it as a hostname and fails to transform it into a network address.

      Steps to reproduce:

      1. Create a user with a single character wildcard in the host

        CREATE USER 'test'@'192.168.1.11_ IDENTIFIED BY 'test';
        GRANT SELECT ON *.* TO 'test'@'192.168.1.11_';

      1. Start MaxScale and inspect the error log

      2015-10-20 09:53:14   Error: Failed to obtain address for host 192.168.1.11_, No address associated with hostname

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.