[OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-03-23 Thread gremaudc
Hello, I never success to set a password with the dollar character ($) in the residential script for configuring the MySQL connection. Best regards CG --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/439_

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-03-23 Thread Liviu Chircu
Could you please describe exactly what isn't working? Is it an opensipsctl or opensipsdbctl command? The following works properly: modparam("dispatcher|usrloc", "db_url", "mysql://root:$te$t$$@192.168.2.133/opensips") --- Reply to this email directly or view it on GitHub: https://github.com

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-03-24 Thread gremaudc
I edit manually the residential script and when a write sometime like that: modparam("uri", "db_url", "mysql://opensips:$superPass2016$@localhost/opensips") It doesn't work. In the log file, I can see an MySQL connect error. --- Reply to this email directly or view it on GitHub: https://github.c

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-03-24 Thread Liviu Chircu
Maybe it is a permissions issue? You can easily double-check with: mysql> select * from mysql.user; --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/439#issuecomment-85476894___ Devel mailing list De

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-03-24 Thread gremaudc
Yes of course the first check that I have made is to try to connect using mysql tool and it's work. mysql -uopensips -p --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/439#issuecomment-85487070___ Deve

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-03-24 Thread Liviu Chircu
Please post the ERRORs you are getting in the logs. For example, if I use the wrong pass, I get: ERROR:db_mysql:db_mysql_connect: driver error(1045): Access denied for user 'root'@'192.168.2.133' (using password: YES) --- Reply to this email directly or view it on GitHub: https://github.com

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-03-24 Thread gremaudc
I have exactly the same as you... --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/439#issuecomment-85870572___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listin

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-03-25 Thread Liviu Chircu
You should come on IRC (irc.freenode.net, #opensips). We should be able to solve this much faster. Meanwhile, if the following fails, then you need to give the *opensips* user access rights: sock=($(sudo netstat -tlnp | grep mysql | awk '{print $4}' | tr -s : ' ')); echo "MySQL is listening

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-04-20 Thread Liviu Chircu
Closed #439. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/439#event-285082300___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Unable to use "$" in a password (#439)

2015-04-20 Thread Liviu Chircu
Closing with "unable to reproduce". Please re-open only after helping us with a "working mysql client connect command" along with a "not working opensips db_mysql URL config file fragment + startup ERROR logs" with a password containing at least one "$" char. --- Reply to this email directly or