Nick,
for modules using DB, you have a module param "db_url" - you need to set
it to point to your db server.
regards,
bogdan
Nick De Cristofaro wrote:
I know, but I want it like this. It is supposed to talk
to a remote
mysql server. As configured in openserctlrc file. But after doing some
fiddling around I noticed this error actually occurs because of a
misconfiguration in the config file itself because if I use the default
openser config file it works fine and uses the remote sql server, there
isn't anything I can find in my other config file that would tell it to
use the local one instead of a remote one though.
Nick
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
Sent: October 19, 2006 5:08 PM
To: Nick De Cristofaro
Cc: users(a)openser.org
Subject: Re: FW: [Users] OpenSER config help to talk to PSTN..
maybe there is no local mysql server on your machine......
regards,
bogdan
Nick De Cristofaro wrote:
Found the issue now, it was an original problem I
had but I'm not sure
how it went away in the first place. There is a
problem with the mysql
connection, which is located on another server.
If I attempt to just run the mysql client manually it still does not
work..
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
seen this error a million times on google but couldn't really find any
fixes that worked for me? This error occured
earlier on when I first
configured openser but It went away and I'm not sure how it happened.
I rebooted the machine and i'm guessing this started again due to it
Thanks
Nick