Here's my situation. I'm implementing radiusd on a solaris box using a mysql database that's on a remote windows host. I've managed to get a user authenticaed (still with the CLID unknown message, but I'll move on. Hope that's OK to do.) I had added that user manually from a mysql command line from the same host that I'm running the radiusd on (that is, I did a mysql -h <windows host>).

Now I'm trying to populate the database from a perl script running on that same solaris box, I get the following:

DBD::mysql::st execute failed: insert command denied to user: '[EMAIL PROTECTED]' for table 'attrib' at /usr/local/lib/perl5/site_perl/5.8.2/sun4-solaris/Mysql.pm line 175.

That makes some sort of sense, since the permissions granted by the db creation script only grant privs to the radius userid on that windows box. (GRANT SELECT on RADIUS.attrib to radius@'%';) What I don't understand is how I was able to do it from the command line but it's not working from the perl script?

Any advice?

Thanks.

-Greg G




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



Reply via email to