mysqld in hosts.allow / hosts.deny ?

mysqld in hosts.allow / hosts.deny ?
===============================
Now, Can i use tcpwrapper with mysql on debian ?
If it can be used.
Which config. that i correct ?
( If i want to only allow from my LAN ( 192.168.2.x netmask 255.255.255.0 )

1.
hosts.allow
#########
mysqld: 192.168.2.0/255.255.255.0

hosts.deny
#########
mysqld: ALL

2.
hosts.allow
#########
mysql: 192.168.2.0/255.255.255.0

hosts.deny
#########
mysql: ALL

Thank you very much for advance.
Pratchaya

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

mysqld in hosts.allow / hosts.deny ?

On Thursday 06 September 2007 04:43:51 am Pratchaya Chatuphian wrote:
> ( If i want to only allow from my LAN ( 192.168.2.x netmask 255.255.255.0 )

If this is the case, why not just bind to your LAN interface?

- S

Syndicate content