Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30507 - MySQL binding only to loopback interface
Summary: MySQL binding only to loopback interface
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 13:53 UTC by Brian O'Kelley
Modified: 2003-10-06 14:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian O'Kelley 2003-10-06 13:53:48 UTC
I emerged MySQL (version 4.0.15). When it runs (either via mysqld_safe or via the init.d script) it works fine from the command line, but not from other machines or the local machine via telnet:

telnet localhost 3306
Trying 192.168.1.3...
telnet: Unable to connect to remote host: Connection refused

When I start mysqld directly (--bind-address=192.168.1.3) it works fine (so it's not a firewall problem or anything like that).

This didn't happen when I installed mysql from source on non-Gentoo, so I'm assuming (and rather hoping) that this is a Gentoo issue.

(I also added a bug on MySQL directly about mysqld_safe not having a --bind-address option).

Brian
Comment 1 SpanKY gentoo-dev 2003-10-06 14:19:36 UTC
edit the config file

the default is to only bind to 127.0.0.1 for obvious security reasons