Hi Adrian,

letting mysql-server listen on localhost only is the default debian configuration. This was done as a security enhancement.

Unfortunatelly you can only supply a single IP address to bind-address

So there are only:

bind-address = 127.0.0.1 # IPv4 localhost only
bind-address = ::1 # IPv6 localhost only
bind-address = 0.0.0.0 # IPv4 any
bind-address = :: # IPv6 any

but now way to open localhost for IPv4 and IPv6 only.

my vote -> close bug as it is a configuration issue.

Cheers
B

Am 01.09.2013 11:06, schrieb Adrian Immanuel Kiess:
Package: mysql-server
Version: 5.5.31+dfsg-1
Severity: normal

Dear Maintainer,

    * What led up to the situation?
      Trying to connect to mysql via perl script using DBI interface
    * What exactly did you do (or not do) that was effective (or
      Executing the perl script
    * What was the outcome of this action?
      No database connection
    * What outcome did you expect instead?
      Database connection :-)

my default installtion of mysql does not listen via IPv6 protocol for
connections, only via IPv4 protocol.

Here is the output of netstat:

root@g6 (~) % netstat --inet --listen -p -n | grep mysql
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
27020/mysqld
root@g6 (~) % netstat --inet6 --listen -p -n | grep mysql
(no output given)

Would it be possible to make mysql listen on IPv6 with a special configuration
option (I don't know) or is it a bug? I was not not able to find the option in
the default configuration files.

Sincerely,

Adrian Immanuel KIESS



-- System Information:
Debian Release: jessie/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mysql-server depends on:
ii  mysql-server-5.5  5.5.31+dfsg-1

mysql-server recommends no packages.

mysql-server suggests no packages.

-- no debconf information

_______________________________________________
pkg-mysql-maint mailing list
pkg-mysql-ma...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to