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

client doesn't report correct error (10061 "Unknown error")

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.5.39, 10.0.13
    • Fix Version/s: 10.1, 10.0
    • Component/s: Platform Windows
    • Labels:
      None
    • Environment:
      Windows 7

      Description

      Why does mysql monitor mention an "Unknown error" here?
      Either print the correct error or no error string

      C:\mariadb-10.0.13-winx64\bin>mysql -h127.0.0.1 -P123
      ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (10061 "Unknown error")
      
      C:\mariadb-10.0.13-winx64\bin>perror 10061
      Win32 error code 10061: No connection could be made because the target machine actively refused it.
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            sbester1 sbester1 added a comment -

            Linux is okay:

            [sbester@fc17 mariadb-10.0.13-linux-x86_64]$ ./bin/mysql -h127.0.0.1 -P123
            ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused")
            
            Show
            sbester1 sbester1 added a comment - Linux is okay: [sbester@fc17 mariadb-10.0.13-linux-x86_64]$ ./bin/mysql -h127.0.0.1 -P123 ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused")

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                sbester1 sbester1
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: