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

LP:443092 - test cases mysql and mysql_upgrade fails with wildcard DNS

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Test failures seen on a windows VM box on an ISP with "wildcard DNS"
      (lookups of non-existing names return address of some web server with
      advertisements or the like).

      main.mysql [ fail ]
      — C:/cygwin/home/Owner/buildbot/win32-tarball/build/mysql-5.1.38-MariaDB-beta1/mysql-test/r/mysql.result 2009-10-04 04:19:13 +03:00
      +++ C:\cygwin\home\Owner\buildbot\win32-tarball\build\mysql-5.1.38-MariaDB-beta1\mysql-test\r\mysql.reject 2009-10-04 06:50:52 +03:00
      @@ -162,8 +162,8 @@
      ERROR 1049 (42000) at line 1: Unknown database 'invalid'
      Test connect with dbname + hostname
      Test connect with dbname + invalid hostname
      -ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno)
      -ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno)
      +ERROR 2003 (HY000) at line 1: Can't connect to MySQL server on 'invalid_hostname' (errno)
      +ERROR 2003 (HY000) at line 1: Can't connect to MySQL server on 'invalid_hostname' (errno)
      The commands reported in the bug report
      ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'cyril has found a bug :)XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' (errno)
      Too long dbname

      main.mysql_upgrade [ fail ]
      — C:/cygwin/home/Owner/buildbot/win32-tarball/build/mysql-5.1.38-MariaDB-beta1/mysql-test/r/mysql_upgrade.result 2009-10-04 04:19:13 +03:00
      +++ C:\cygwin\home\Owner\buildbot\win32-tarball\build\mysql-5.1.38-MariaDB-beta1\mysql-test\r\mysql_upgrade.reject 2009-10-04 06:55:28 +03:00
      @@ -94,7 +94,7 @@
      mysql.user OK
      DROP USER mysqltest1@'%';
      Run mysql_upgrade with a non existing server socket
      -mysqlcheck: Got error: 2005: Unknown MySQL server host 'not_existing_host' (errno) when trying to connect
      +mysqlcheck: Got error: 2003: Can't connect to MySQL server on 'not_existing_host' (errno) when trying to connect
      FATAL ERROR: Upgrade failed
      set GLOBAL sql_mode='STRICT_ALL_TABLES,ANSI_QUOTES,NO_ZERO_DATE';
      mtr.global_suppressions OK

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            brianevans Brian Evans added a comment -

            Re: test cases mysql and mysql_upgrade fails with wildcard DNS
            Related bug in MySQL

            http://bugs.mysql.com/bug.php?id=35485

            Show
            brianevans Brian Evans added a comment - Re: test cases mysql and mysql_upgrade fails with wildcard DNS Related bug in MySQL http://bugs.mysql.com/bug.php?id=35485
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 443092

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 443092

              People

              • Assignee:
                knielsen Kristian Nielsen
                Reporter:
                knielsen Kristian Nielsen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: