Or, a quick simple fix to /etc/hosts.allow
mysqld : 192.168.1.0/24 : allow
mysqld : ALL : deny
* DISCLAIMER: I'm presently at work, exactly 36 miles away from my BSD system, and connection to said system is down due to a rather unusual (for Arizona anyways) rain storm. So uhh, I can't test the above. It's either mysqld or mysql. Don't forget to comment out the ALL : ALL : allow line at the top of the file, or you'll completely over-ride anything you set below that and scratch your head for hours trying to figure out why it doesn't work when "it should."
Also, be sure to restart mysqld after the above change. Oh - and of course, change 192.168.1.0/24 to whatever your config is.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
|