MySQL Forums
Forum List  »  Docs

Re: bind-address
Posted by: Stefan Hinz
Date: March 17, 2009 02:23AM

You can bind only to network interfaces available on the machine where MySQL is running. There's no way for PC A to access the network interface on PC B, so consequently the MySQL server refuses to start.

Assume your PC has 3 network interfaces:
- (local host or local loop)
- (network card/cable)
- (network card/wireless)

Normally, the MySQL server will listen on all three interfaces. This is the default, but if it makes you happy :-) you could set it explicitly, with --bind-address=''.

If you want MySQL to listen only on the cable interface you would set --bind-address=''.

See for more information on bind-address.

Stefan Hinz, MySQL Documentation, Berlin, Germany

Options: ReplyQuote

Written By
February 25, 2009 02:44AM
Re: bind-address
March 17, 2009 02:23AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.