mysql Connection error

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Oct 31 10:11:04 CET 2012


On 31 Oct 2012, at 09:02, "Fajar A. Nugraha" <list at fajar.net> wrote:

> On Wed, Oct 31, 2012 at 3:57 PM, QASIM RAO <qasim2490 at hotmail.com> wrote:
>> hi,
>> 
>> i am having a problem in free radius, when i connect free radius with db by
>> using ip of db server it is not connecting with db database is installed on
>> localhost so when
>> i give db sever="localhost" it connects with db... please help me in this
>> why radius is doing this
>> ???
> 
> This is most likely mysql problem. Try connecting with command line
> client first (e.g mysql -h ...). Usually it's iptables or selinux
> problem.
> 

FWIW localhost maps to a Unix Socket in default installations of MySQL.

-Arran



More information about the Freeradius-Users mailing list