Unable to start freeradius as service - Couldn't connect to MySQL server

Matthew Newton mcn at freeradius.org
Tue Oct 24 09:05:53 UTC 2023



On 24/10/2023 08:57, vira vva wrote:
>    root at ngw40:/etc/freeradius/mods-enabled# freeradius  -v
> radiusd: FreeRADIUS Version 3.2.3 (git #db3d1924d), for host
> x86_64-pc-linux-gnu

Running as root


> Oct 24 14:42:43 ngw40 freeradius[168957]: Tue Oct 24 14:42:43 2023 : Error:
> rlm_sql_mysql: Couldn't connect to MySQL server radius at localhost:radius

Not running as root

Fix your database so the radius user has permission to connect.

-- 
Matthew


More information about the Freeradius-Users mailing list