hi,<br>    I am a new user in free radius with mysql, i've configure all the necessary .config files (viz., sql.conf and radiusd.conf) of the free radius for connecting to the mysql, but i wouldn't be able to connect to mysql database. Please tell me how to check that my free radius server is already connected to mysql and when i used the Unix username and password it receives access-accept packets.<br>
I've tried <a href="http://wiki.freeradius.org/SQL_HOWTO">http://wiki.freeradius.org/SQL_HOWTO</a> also but the instructions given there is slightly different from the one I am using. I am using free radius 2.0.0.<br>
Please help me in configuring this to connect to mysql.<br>the debug log display like this<br><br>Ready to process requests.<br>rad_recv: Access-Request packet from host <a href="http://127.0.0.1">127.0.0.1</a> port 32771, id=218, length=56<br>
        User-Name = "john"<br>        User-Password = "radpass"<br>        NAS-IP-Address = <a href="http://192.168.1.227">192.168.1.227</a><br>        NAS-Port = 0<br>+- entering group authorize<br>++[preprocess] returns ok<br>
++[chap] returns noop<br>++[mschap] returns noop<br>++[unix] returns updated<br>    rlm_realm: No '@' in User-Name = "john", looking up realm NULL<br>    rlm_realm: No such realm "NULL"<br>++[suffix] returns noop<br>
  rlm_eap: No EAP-Message, not doing EAP<br>++[eap] returns noop<br>++[files] returns noop<br>++[expiration] returns noop<br>++[logintime] returns noop<br>++[pap] returns updated<br>  rad_check_password:  Found Auth-Type<br>
auth: type "PAP"<br>+- entering group PAP<br>rlm_pap: login attempt with password "radpass"<br>rlm_pap: Using CRYPT encryption.<br>rlm_pap: Passwords don't match<br>++[pap] returns reject<br>auth: Failed to validate the user.<br>
  Found Post-Auth-Type Reject<br>+- entering group REJECT<br>        expand: %{User-Name} -> john<br> attr_filter: Matched entry DEFAULT at line 11<br>++[attr_filter.access_reject] returns updated<br>Delaying reject of request 0 for 1 seconds<br>
Going to the next request<br>Waking up in 0.9 seconds.<br>Sending delayed reject for request 0<br>Sending Access-Reject of id 218 to <a href="http://127.0.0.1">127.0.0.1</a> port 32771<br>Waking up in 4.9 seconds.<br>Cleaning up request 0 ID 218 with timestamp +34<br>
Ready to process requests.<br><br><br>with regards<br>Elangbam Johnson