OpenWrt Forum Archive

Topic: freeradius and MySQL

The content of this topic has been archived on 27 Feb 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

Has anyone had success at getting the sql module for freeradius working?

rlm_sql_mysql is its name and after reading through the forums I see that it is difficult to compile.

Any help is appreciated, especially if one of the gurus could compile it.

Cheers,
J

Did you installed the libmysqlclient-dev packages or something related ? If you really need the libmysqclient, you can download them here :

http://nthill.free.fr/openwrt/ipkg/test … mipsel.ipk

Then extract the package using the ipkg-unbuild command, and install the librairies in $(STAGING_DIR)/usr/lib for example.

Freeradius will probably be looking for the headers file : mysql.h and others, and for the librairies.

The discussion might have continued from here.