Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 340D710CEA for ; Mon, 17 Mar 2014 10:00:51 +0000 (UTC) Received: (qmail 85138 invoked by uid 500); 17 Mar 2014 10:00:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 85106 invoked by uid 500); 17 Mar 2014 10:00:50 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 85078 invoked by uid 500); 17 Mar 2014 10:00:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 85067 invoked by uid 99); 17 Mar 2014 10:00:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 10:00:48 +0000 Date: Mon, 17 Mar 2014 10:00:48 +0000 (UTC) From: "Alex Hitchins (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-1623) MySQL Database connection can fail to "localhost" on a V6 enabled host MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Hitchins resolved CLOUDSTACK-1623. --------------------------------------- Resolution: Done Committed by Chip on June 17, 2013, 6:43 p.m. Applied to master: d4477ba8da60290d21afd58ce0901d12c85de3a9 Thanks for the patch! > MySQL Database connection can fail to "localhost" on a V6 enabled host > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-1623 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1623 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Doc > Environment: CentOS / RHEL MySQL > Reporter: Shanker Balan > Assignee: Alex Hitchins > Priority: Trivial > Labels: doc > > The below snippet can fail on a host with a IPv6 loopback entry in the hosts file and MySQL is not setup to listen on the loopback interface. > cloud-setup-databases cloud:@localhost \ > --deploy-as=root: \ > -e \ > -m \ > -k > The documentation could be updated to mention: > 1) Ensure that MySQL is running on the IPv6 loopback interface ::1 > 2) OR, remove the "localhost" entry which points to "::1" from the hosts file > [root@db01 ~]# telnet ::1 mysql > Trying ::1... > telnet: connect to address ::1: Connection refused > [root@db01 ~]# telnet 127.0.0.1 mysql > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > 8 > 5.1.66-log? ^] > telnet> Connection closed. > [root@db01 ~]# -- This message was sent by Atlassian JIRA (v6.2#6252)