MySQL not in the default port

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Fri Sep 19 08:09:19 CEST 2008


Hi,
> Hello,
> 
> I had to install my MySQL not in the default port (3306), and I'm not able to connect to the server ... I tried everything in the sql.conf like localhost:5999, my.IP:5999, hostname, etc and nothing makes it to connect ... Is there any (right) way to specify a port to connect ? is it possible ?
> 
> P.S: I tried to make FreeRadius to connect to an outside MySQL server (standard port) and it connected without problems ...

in sql.conf

right after the hostname, add a port option.

	hostname = "nameofhost"
        port     = "5999"

alan



More information about the Freeradius-Users mailing list