[MDEV-2420] LP:443092 - test cases mysql and mysql_upgrade fails with wildcard DNS Created: 2009-10-05  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Kristian Nielsen Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug443092.xml    

 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



 Comments   
Comment by Brian Evans (Inactive) [ 2009-12-14 ]

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

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

Comment by Rasmus Johansson (Inactive) [ 2009-12-14 ]

Launchpad bug id: 443092

Generated at Thu Feb 08 06:41:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.