I want to include a registration form to CP. The idea is to use FreeRadius MySQL database installed in pfsense to write new users using php script. I have installed FReeradius and enable Mysql but I do not know how to connect to the database in order to see the schema and with this way decide the php variables. Can anyone help me?
Freeradius2 does not have any kind of database included. It just has modules to connect to a MySQL or PostgreSQL database.
It is the same with LDAP - freeradius does not have an LDAP serve rincluded but only the module to connect to an LDAP server.
But you can install a mysql database by hand on pfsense but this is not recommended - better use another external server and run the database there and just connect freeradius to this database.
The database sheme can be found here: