user1710563
user1710563

Reputation: 387

Allow database connections from anywhere?

Currently, my MySQL server's bind-address in the my.cnf config file is set to 127.0.0.1 which works perfectly fine for local connections to any database. However, I need to allow local and external connections. When I set the bind-address to the server's actual IP address, it works for external...but not local.

How can I get both types of connections to work at the same time?

Upvotes: 1

Views: 573

Answers (1)

lqs
lqs

Reputation: 1454

Use 0.0.0.0. It stands for all interfaces.

Upvotes: 1

Related Questions