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