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

MySQL command line tool can ignore "--port" argument without giving warning

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.9, 10.0(EOL)
    • N/A
    • Documentation
    • None
    • Fedora 21 and Fedora 27, both x86_64

    Description

      I have a box running MariaDB at the usual port, 3306.
      It also has a MariaDB running inside a container. The container exports to port 3310.
      Assuming $IP is the IP address of the host, then when I say (on the box):
      mysql -h $IP --port=3310

      then I get connected to the containerized MariaDB, as expected. But if I leave off the host specifier and just say:

      mysql --port=3310

      then I get connected to the non-containerized MariaDB at the default port, 3306. There is no warning or error message that this is happening, even if I specify "-v -v -v". This is a bug. It should either not do that, or else it should issue a warning, or else the documentation should specify this behavior.

      Attachments

        Activity

          People

            greenman Ian Gilfillan
            donlindsay Don Lindsay
            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.