MySQL Forums
Forum List  »  General

Re: Can't connect to local DB using IP instead of localhost
Posted by: Peter Brawley
Date: May 13, 2014 03:58PM

> I use MySQL 5.2

There is no such MySQL version.

> I need my server could be connectable from another hosts.

On your LAN, it will be accessible via IP address or machine name. The mysql.user.host value for the username you are logging in as needs to match the value you are using, either specifically or as a wildcard. And make sure bind-address is not set.

Outside your LAN, your machine needs a public internet IP address.

Options: ReplyQuote




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.