[root@gw3 /usr/local/nodeny]# ./nocheck.pl
Проверка прав на чтение таблиц:
1. SELECT COUNT(*) FROM users...OK
2. SELECT COUNT(*) FROM files...OK
3. SELECT COUNT(*) FROM nets...OK
4. SELECT COUNT(*) FROM plans2...OK
5. SELECT COUNT(*) FROM users_trf...OK
6. SELECT COUNT(*) FROM dopdata...OK
Проверки выполнены. Все ОК.
[root@gw3 /usr/local/nodeny]# cat ./noserver.log
07.11.2009 16:59:01 Starting noserver
DBD::mysql::st execute failed: SELECT command denied to user 'bill_firewall'@'10.1.10.3' for table 'x2009x11x7' at nosat.pm line 245.
07.11.2009 16:59:06 Error: SELECT SQL_BUFFER_RESULT uid,uip,now_on,in1,out1 FROM users_trf
Делаю дальше:
[root@gw3 /usr/local/nodeny]# mysql -h 10.1.10.100 -ubill_firewall -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 16565
Server version: 5.4.2-beta-log FreeBSD port: mysql-server-5.4.2
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use bill
Database changed
mysql> SELECT SQL_BUFFER_RESULT uid,uip,now_on,in1,out1 FROM user;
ERROR 1142 (42000): SELECT command denied to user 'bill_firewall'@'10.1.10.3' for table 'user'
Проверил - грант селект стоит.
ПыСы: нафиг фаерволлу таблица x2009x11x7??