Bug #8220 Crashes when type in 127.0.0.1 for localhost IP at "Connect to Server" Dialog
Submitted: 31 Jan 2005 21:46 Modified: 3 Feb 2005 8:16
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.0.14 OS:Windows (Windows XP)
Assigned to: CPU Architecture:Any

[31 Jan 2005 21:46] [ name withheld ]
Description:
In MySQL Administrator 1.0.14, when I try to connect at the initial "Connect to MySQL Server instance" dialog with the user name "localhost" for the hostname, I get the following message:  "unknown MySQL server host 'localhost'(0)".  When ping I get the message "could not resolve hostname 'localhost'".  I believe this is simply an issue with my system.  

I am still able to fire up the mysql client from DOS.  I also have Navicat (which experiences the same problem) and when I used 124.0.0.1 to connect to the MySQL server using Navicat everything was fine.

When I instead of using local host, I typed in the IP Address '127.0.0.1' in the "Connect to MySQL Server instance" dialog the MySQL Administrator crashes and I get a Microsoft dialog box saying, "Administator for MySQL Servers has encountered a problem and needs to close.  We are sorry for the inconvenience." and prompts whether to send an error report to microsoft about the problem.  Here is the error report:

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="MySQLAdministrator.exe" FILTER="GRABMI_FILTER_PRIVACY">
    <MATCHING_FILE NAME="iconv.dll" SIZE="892928" CHECKSUM="0x96002EF" BIN_FILE_VERSION="1.9.0.0" BIN_PRODUCT_VERSION="1.9.0.0" PRODUCT_VERSION="1.9" FILE_DESCRIPTION="LGPLed libiconv for Windows NT/2000/XP and Windows 95/98/ME" COMPANY_NAME="Free Software Foundation" PRODUCT_NAME="libiconv: character set conversion library" FILE_VERSION="1.9" ORIGINAL_FILENAME="iconv.dll" INTERNAL_NAME="iconv.dll" LEGAL_COPYRIGHT="Copyright (C) 1999-2003" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x10004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.9.0.0" UPTO_BIN_PRODUCT_VERSION="1.9.0.0" LINK_DATE="05/23/2003 17:45:10" UPTO_LINK_DATE="05/23/2003 17:45:10" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="intl.dll" SIZE="36864" CHECKSUM="0x63E2AF23" BIN_FILE_VERSION="0.12.0.0" BIN_PRODUCT_VERSION="0.12.0.0" PRODUCT_VERSION="0.12" FILE_DESCRIPTION="LGPLed libintl for Windows NT/2000/XP and Windows 95/98/ME" COMPANY_NAME="Free Software Foundation" PRODUCT_NAME="libintl: accessing NLS message catalogs" FILE_VERSION="0.12" ORIGINAL_FILENAME="intl.dll" INTERNAL_NAME="intl.dll" LEGAL_COPYRIGHT="Copyright (C) 1995-2003" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x10004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="0.12.0.0" UPTO_BIN_PRODUCT_VERSION="0.12.0.0" LINK_DATE="05/23/2003 17:44:43" UPTO_LINK_DATE="05/23/2003 17:44:43" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="libglib-2.0-0.dll" SIZE="604164" CHECKSUM="0x6C3226B9" BIN_FILE_VERSION="2.2.3.0" BIN_PRODUCT_VERSION="2.2.3.0" PRODUCT_VERSION="2.2.3" FILE_DESCRIPTION="GLib" COMPANY_NAME="The GLib developer community" PRODUCT_NAME="GLib" FILE_VERSION="2.2.3.0" ORIGINAL_FILENAME="libglib-2.0-0.dll" INTERNAL_NAME="libglib-2.0-0" LEGAL_COPYRIGHT="Copyright © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald. Modified by the GLib Team and others 1997-2000." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x9B040" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.2.3.0" UPTO_BIN_PRODUCT_VERSION="2.2.3.0" LINK_DATE="08/29/2003 03:44:49" UPTO_LINK_DATE="08/29/2003 03:44:49" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="libgmodule-2.0-0.dll" SIZE="27206" CHECKSUM="0xEEBBDC9A" BIN_FILE_VERSION="2.2.3.0" BIN_PRODUCT_VERSION="2.2.3.0" PRODUCT_VERSION="2.2.3" FILE_DESCRIPTION="GModule" COMPANY_NAME="The GLib developer community" PRODUCT_NAME="GLib" FILE_VERSION="2.2.3.0" ORIGINAL_FILENAME="libgmodule-2.0-0.dll" INTERNAL_NAME="libgmodule-2.0-0" LEGAL_COPYRIGHT="Copyright © 1998-2000 Tim Janik. Modified by the GLib Team and others 1998-2000." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xA8E2" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.2.3.0" UPTO_BIN_PRODUCT_VERSION="2.2.3.0" LINK_DATE="08/29/2003 04:52:40" UPTO_LINK_DATE="08/29/2003 04:52:40" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="libgobject-2.0-0.dll" SIZE="259473" CHECKSUM="0x240D6C8C" BIN_FILE_VERSION="2.2.3.0" BIN_PRODUCT_VERSION="2.2.3.0" PRODUCT_VERSION="2.2.3" FILE_DESCRIPTION="GObject" COMPANY_NAME="The GLib developer community" PRODUCT_NAME="GLib" FILE_VERSION="2.2.3.0" ORIGINAL_FILENAME="libgobject-2.0-0.dll" INTERNAL_NAME="libgobject-2.0-0" LEGAL_COPYRIGHT="Copyright © 1998-2000 Tim Janik and Red Hat, Inc." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x429BB" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.2.3.0" UPTO_BIN_PRODUCT_VERSION="2.2.3.0" LINK_DATE="08/29/2003 04:51:15" UPTO_LINK_DATE="08/29/2003 04:51:15" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="libgthread-2.0-0.dll" SIZE="37427" CHECKSUM="0x995ECC4" BIN_FILE_VERSION="2.2.3.0" BIN_PRODUCT_VERSION="2.2.3.0" PRODUCT_VERSION="2.2.3" FILE_DESCRIPTION="GThread" COMPANY_NAME="The GLib developer community" PRODUCT_NAME="GLib" FILE_VERSION="2.2.3.0" ORIGINAL_FILENAME="libgthread-2.0-0.dll" INTERNAL_NAME="libgthread-2.0-0" LEGAL_COPYRIGHT="Copyright © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald. Copyright © 1998 Sebastian Wilhelmi. Modified by the GLib Team and others 1997-2000." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x981B" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.2.3.0" UPTO_BIN_PRODUCT_VERSION="2.2.3.0" LINK_DATE="08/29/2003 04:53:59" UPTO_LINK_DATE="08/29/2003 04:53:59" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="libmySQL.dll" SIZE="1060864" CHECKSUM="0x4276F5A8" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x60000" LINK_DATE="07/28/2004 17:29:43" UPTO_LINK_DATE="07/28/2004 17:29:43" />
    <MATCHING_FILE NAME="libmysqladmin.dll" SIZE="217088" CHECKSUM="0xE64778EE" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="11/02/2004 20:38:34" UPTO_LINK_DATE="11/02/2004 20:38:34" />
    <MATCHING_FILE NAME="libmysqladminmsg.dll" SIZE="1536" CHECKSUM="0xA02B82CF" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="11/02/2004 20:39:24" UPTO_LINK_DATE="11/02/2004 20:39:24" />
    <MATCHING_FILE NAME="libmysqlx.dll" SIZE="253952" CHECKSUM="0x3A5CE8B8" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="11/02/2004 19:49:19" UPTO_LINK_DATE="11/02/2004 19:49:19" />
    <MATCHING_FILE NAME="libxml2.dll" SIZE="728064" CHECKSUM="0x2A9821DE" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x20006" LINK_DATE="12/11/2003 13:49:43" UPTO_LINK_DATE="12/11/2003 13:49:43" />
    <MATCHING_FILE NAME="msvcp71.dll" SIZE="499712" CHECKSUM="0x961BEC37" BIN_FILE_VERSION="7.10.3077.0" BIN_PRODUCT_VERSION="7.10.3077.0" PRODUCT_VERSION="7.10.3077.0" FILE_DESCRIPTION="Microsoft® C++ Runtime Library" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Visual Studio .NET" FILE_VERSION="7.10.3077.0" ORIGINAL_FILENAME="MSVCP71.DLL" INTERNAL_NAME="MSVCP71.DLL" LEGAL_COPYRIGHT="© Microsoft Corporation.  All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x8657E" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="7.10.3077.0" UPTO_BIN_PRODUCT_VERSION="7.10.3077.0" LINK_DATE="03/19/2003 04:14:51" UPTO_LINK_DATE="03/19/2003 04:14:51" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="msvcr71.dll" SIZE="348160" CHECKSUM="0x448A147E" BIN_FILE_VERSION="7.10.3052.4" BIN_PRODUCT_VERSION="7.10.3052.4" PRODUCT_VERSION="7.10.3052.4" FILE_DESCRIPTION="Microsoft® C Runtime Library" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Visual Studio .NET" FILE_VERSION="7.10.3052.4" ORIGINAL_FILENAME="MSVCR71.DLL" INTERNAL_NAME="MSVCR71.DLL" LEGAL_COPYRIGHT="© Microsoft Corporation.  All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x5F1E9" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="7.10.3052.4" UPTO_BIN_PRODUCT_VERSION="7.10.3052.4" LINK_DATE="02/21/2003 12:42:20" UPTO_LINK_DATE="02/21/2003 12:42:20" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="MySQLAdministrator.exe" SIZE="2874368" CHECKSUM="0xF07D79A" BIN_FILE_VERSION="1.0.14.0" BIN_PRODUCT_VERSION="1.0.14.0" PRODUCT_VERSION="1.0" FILE_DESCRIPTION="Administator for MySQL Servers" COMPANY_NAME="MySQL AB" PRODUCT_NAME="MySQL Administator" FILE_VERSION="1.0.14" ORIGINAL_FILENAME="MySQLAdministrator.exe" INTERNAL_NAME="MySQL Administator" LEGAL_COPYRIGHT="© Copyright 2004, MySQL AB" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.14.0" UPTO_BIN_PRODUCT_VERSION="1.0.14.0" LINK_DATE="06/19/1992 22:22:17" UPTO_LINK_DATE="06/19/1992 22:22:17" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="MySQLSystemTrayMonitor.exe" SIZE="852480" CHECKSUM="0xBAC30335" BIN_FILE_VERSION="1.0.0.1" BIN_PRODUCT_VERSION="1.0.0.1" PRODUCT_VERSION="1.0.0.0" FILE_DESCRIPTION="" COMPANY_NAME="" PRODUCT_NAME="" FILE_VERSION="1.0.0.1" ORIGINAL_FILENAME="" INTERNAL_NAME="" LEGAL_COPYRIGHT="" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.1" UPTO_BIN_PRODUCT_VERSION="1.0.0.1" LINK_DATE="06/19/1992 22:22:17" UPTO_LINK_DATE="06/19/1992 22:22:17" VER_LANGUAGE="German (Austria) [0xc07]" />
    <MATCHING_FILE NAME="zlib.dll" SIZE="73728" CHECKSUM="0xE6F49BF0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="10/25/2003 13:39:21" UPTO_LINK_DATE="10/25/2003 13:39:21" />
</EXE>
<EXE NAME="libmysqlx.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="libmysqlx.dll" SIZE="253952" CHECKSUM="0x3A5CE8B8" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="11/02/2004 19:49:19" UPTO_LINK_DATE="11/02/2004 19:49:19" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="kernel32.dll" SIZE="983552" CHECKSUM="0x4CE79457" BIN_FILE_VERSION="5.1.2600.2180" BIN_PRODUCT_VERSION="5.1.2600.2180" PRODUCT_VERSION="5.1.2600.2180" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xFF848" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.2180" UPTO_BIN_PRODUCT_VERSION="5.1.2600.2180" LINK_DATE="08/04/2004 07:56:36" UPTO_LINK_DATE="08/04/2004 07:56:36" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>

How to repeat:
1) Initiate MySQL Administrator
2) At the "Connect to MySQL Server instance" dialog, type in the appropriate user name and password 
3) Type in 127.0.0.1 (local host) for the hostname
4) Leave port alone
5) Hit the "OK" button
6) App should crash
[1 Feb 2005 7:36] Aleksey Kishkin
was not able to reproduse this bug on win xp sp2, mysql 4.1.19-nt and mysql admininstrator 1.0.19.

Could you please to check latest version of mysql administrator? (I see you use 1.0.14, but latest mysql admin. has version 1.0.19 ). Probably this bug was already fixed in current version, at least I connected without problem to 127.0.0.1
[3 Feb 2005 8:16] Mike Lischke
Bug was redrawn by OP.