Udara S.S Liyanage
Udara S.S Liyanage

Reputation: 6453

Bind MySQL to IP when installing

When I install Mysql using apt-get it binds to the localhost. I have to manually change the bind address. Is there a way I can set bind address at the time of install.

Upvotes: 0

Views: 79

Answers (2)

tgunr
tgunr

Reputation: 1548

Binding to localhost is the default is for security.

If you want less secure configure you are required then reconfigure your my.cnf file manually.

Upvotes: 0

Abdul Manaf
Abdul Manaf

Reputation: 4888

NO, You need to change that in in my.cnf after installation and then restart MySQL Server.

Upvotes: 2

Related Questions