Hi,
Thank you very much! I'm willing to help test if you can provide me a diff
of your changes.
Well, that was easy. I checked the code, and it turns out that the
functionality is already there. I just tested it on my laptop (running
5.0.13) and it does indeed work.
I did:
* echo "10.0.0.1 foo" >> /etc/hosts
* ifconfig lo0 alias 10.0.0.1
* add to /etc/my.cnf:
[mysqld]
bind-address=foo
* restart mysqld
* mysql -h 10.0.0.1 <-- confirm connection or error from mysqld
* mysql -h 127.0.0.1 <-- confirm failure to connect at all
I didn't know that this worked. Learn something new every day.
Are you having a problem with it? Does it not work for you?
Regards,
Jeremy