MySQL not in the default port

Marcelo Freitas marcelocbf at comcast.net
Sat Sep 20 03:08:11 CEST 2008


Thanks man, it worked ...
Sorry, I hadn't found any docs about this directive ...



----- Original Message -----
From: a.l.m.buxey at lboro.ac.uk
Sent: Fri, September 19, 2008 2:09
Subject:Re: MySQL not in the default port


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




----- End of original message -----




More information about the Freeradius-Users mailing list