Re: wierd error message from mysqld
Sergei Golubchik <[email protected]>
| Newsgroups | gmane.comp.db.mysql.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi! On Feb 26, Brent Bailey wrote: > Im running mysql on a Freebsd 4.9.. In going through my logs this > morning I saw this error. > I find it odd that mysqd would try to open the /etc/hosts.allow file .. > this makes me think that someone issued the command through mysql > .with that in mind. > > 1. Is there a way to get mysqld to log to a specific file ? Yes. Run 'mysqld --help' and search for option starting from --log > 2. Does the below error mean that someone tried to access these files > via mysql commands ? No. You probably are using MySQL as compiled from FreeBSD port collection - and it also means that it is compiled with libwrap support (try 'ldd mysqld' to know it for certain). More information at man 8 tcpd man 5 hosts_access > Feb 25 13:44:14 xxx mysqld[175]: warning: /etc/hosts.allow, line 59: > cannot open /etc/hosts.allow: Permission denied > Feb 25 13:44:14 xxx mysqld[175]: warning: /etc/hosts.allow, line 59: > cannot open /etc/hosts.deny: Permission denied Regards, Sergei -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik <[email protected]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Senior Software Developer /_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany <___/ www.mysql.com -- MySQL Bugs Mailing List For list archives: http://lists.mysql.com/bugs To unsubscribe: http://lists.mysql.com/[email protected]