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

Wrong host/IP address is printed back after ERROR 1045 (28000)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 5.5.36
    • None
    • None
    • None
    • Linux martin-xps2 3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 20:40:47 CEST 2014 x86_64 GNU/Linux

      mysql Ver 15.1 Distrib 5.5.36-MariaDB, for Linux (x86_64) using readline 5.1

    Description

      [~]% mysql -u root -h 192.168.33.10 -p
      Enter password: (I enter the wrong password)
      ERROR 1045 (28000): Access denied for user 'root'@'192.168.33.1' (using password: YES)
      Exit 1

      I enter 192.168.33.10, yet it echoes back 192.168.33.1?

      It does seem to connect to the right address, though:

      [~]% mysql -u root -h 192.168.33.1 -p
      Enter password: 
      ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.33.1' (111)
      Exit 1

      It does seem to with the MySQL on the server:

      [~]% mysql -u root -h 192.168.33.10 -p  
      Enter password: 
      ERROR 1045 (28000): Access denied for user 'root'@'192.168.33.10' (using password: NO)
       
      [~]% mysql --version
      mysql  Ver 14.14 Distrib 5.5.35, for debian-linux-gnu (i686) using readline 6.2

      Attachments

        Activity

          People

            Unassigned Unassigned
            Carpetsmoker Martin Tournoij (Inactive)
            Votes:
            0 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.