About rlm_sql (sql): Attempting to connect rlm_sql_mysql #1

Alan DeKok aland at deployingradius.com
Thu Jul 15 14:18:45 CEST 2010

Aziz YÜCELEN wrote:
> I setup a freeradius server with mysql and configure both freeradius and
> mysql configurations. I add a user to radius database and run
> "freeradius -X" and radtest deneme2 1 x.x.x.x:1812 0 123456 but I have a
> rejecting error
> and freeradius -X output is here.Please help me.Thanks.

  See the WARNING message in the debug log you posted.  It should be clear.

> FreeRADIUS Version 2.0.4, for host i486-pc-linux-gnu, built on Sep  7
> 2008 at 23:35:34

  And why 2.0.4?

  I'll also note that you did *not* configure FreeRADIUS to use SQL.
Search for "sql" in raddb/sites-enabled, and un-comment the relevant
lines.  See also raddb/sql.conf

  Alan DeKok.

More information about the Freeradius-Users mailing list