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 ??? regards,
On Wed, Oct 31, 2012 at 3:57 PM, QASIM RAO <qasim2490@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. -- Fajar
On 31 Oct 2012, at 09:02, "Fajar A. Nugraha" <list@fajar.net> wrote:
On Wed, Oct 31, 2012 at 3:57 PM, QASIM RAO <qasim2490@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
how can i change localhost to public IP
Subject: Re: mysql Connection error From: a.cudbardb@freeradius.org Date: Wed, 31 Oct 2012 09:11:04 +0000 To: freeradius-users@lists.freeradius.org
On 31 Oct 2012, at 09:02, "Fajar A. Nugraha" <list@fajar.net> wrote:
On Wed, Oct 31, 2012 at 3:57 PM, QASIM RAO <qasim2490@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
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
QASIM RAO 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
It's probably because you didn't tell the DB to listen on a public IP. Or, the firewall is preventing connections to the public IP and port of the DB. But if it works to localhost, why worry? Alan DeKok.
i want to connect db using ip because no i am testing after this i will connect i to remote db. How can i tel Db to listen on a public ip ?? i grant all rights to ip by using grant all command in mysql firewall is stopped and selinux is also desabled,
Date: Wed, 31 Oct 2012 10:03:44 +0100 From: aland@deployingradius.com To: freeradius-users@lists.freeradius.org Subject: Re: mysql Connection error
QASIM RAO 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
It's probably because you didn't tell the DB to listen on a public IP. Or, the firewall is preventing connections to the public IP and port of the DB.
But if it works to localhost, why worry?
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
i want to connect db using ip because no i am testing after this i will connect i to remote db. How can i tel Db to listen on a public ip ??
now this is a MySQL question - not a FreeRADIUS question, mysql has its own mailing lists (and its own configuration file and users table that you now need to be looking at) alan
participants (5)
-
alan buxey -
Alan DeKok -
Arran Cudbard-Bell -
Fajar A. Nugraha -
QASIM RAO