help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnu-radius] mysql/radius populate db question


From: Greg G
Subject: [Help-gnu-radius] mysql/radius populate db question
Date: Fri, 28 Nov 2003 11:11:28 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

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: 'address@hidden' 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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]