cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shanker Balan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-1623) MySQL Database connection can fail to "localhost" on a V6 enabled host
Date Mon, 11 Mar 2013 13:29:12 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598805#comment-13598805
] 

Shanker Balan commented on CLOUDSTACK-1623:
-------------------------------------------

I have submitted a doc update at https://reviews.apache.org/r/9852/ for review.
                
> 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
>            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:<dbpassword>@localhost \
>                 --deploy-as=root:<password> \
>                 -e <encryption_type> \
>                 -m <management_server_key> \
>                 -k <database_key>
> 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?<!.c,M~vk6i1U:`Ug+:
> ^]
> telnet> Connection closed.
> [root@db01 ~]# 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message