127.0.0.1 is always localhost, perhaps you could make this change in your scripts

- hcir

use MySQL

is there a way to find out which host I am connected
from?

My CGI script checks privileges of users based on host
names they came from. But their hosts some times are
detected as IP. E.g. when the script asks:
SHOW GRANTS FOR 'user'@'127.0.0.1'
Mysql replies that there is no such grants, because
it knows 'user'@'localhost' instead.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to