Time for action – incorporating a MySQL database in FreeRADIUS

We assume that MySQL is not yet installed on the system where you have FreeRADIUS deployed. We will first install and then configure MySQL in order for it to be usable to FreeRADIUS.

Installing MySQL

Ensure that MySQL server is installed on your Linux machine. The following table can be used as a guideline to install MySQL on each of the three distributions discussed in this book:

Distribution

Command to install MySQL server

CentOS

yum install mysql-server 

SUSE

zypper install mysql

Ubuntu

sudo apt-get install mysql-server

Note

MySQL server has a user called root, which by default does not have any password on the local machine. You are strongly encouraged to supply a password ...

Get FreeRADIUS Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.