MySQL automatically detect IP address

asked Mar 22, 2012 in Database by DinoGuy (2,130 points)
hi guys,
Is there a way to have MySQL automatically detect the IP address of the machine it's on and set the "bind-address" configuration variable itself? This is a small home server using DHCP that's used periodically and I really don't want to go through setting up static IP addresses. Does anyone know how to do this?


1 Answer

0 like 0 dislike
answered Mar 22, 2012 by SmartHost (9,060 points)
Hey Dino

set the IP  'bind-address =' and it will bind to what ever it can.