<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.gmail-msonormal, li.gmail-msonormal, div.gmail-msonormal
        {mso-style-name:gmail-msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>You should try to set the </span><span lang=EN-US>bind-address in /etc/mysql/my.cnf to the corresponding physical address.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>BR Franz<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></a></p><span style='mso-bookmark:_MailEndCompose'></span><p class=MsoNormal><b><span lang=DE>Von:</span></b><span lang=DE> sr-users [mailto:sr-users-bounces@lists.kamailio.org] <b>Im Auftrag von </b>Kranti Kumar<br><b>Gesendet:</b> Samstag, 23. Dezember 2017 04:11<br><b>An:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org>; sr-users@lists.kamailio.org; raghavender goud <raghu6519@gmail.com><br><b>Betreff:</b> [SR-Users] PCSCF Access denied issue<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi All,<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>We are using <b>Kamailio IMS VM</b> image and we are able to run HSS(/hss.sh) successfully. But while running PCSCF (kamailio -f /usr/local/etc/kamailio/kamailio-pcscf.cfg), we are getting below errors.<o:p></o:p></p><p class=gmail-msonormal>0(1772) DEBUG: <core> [db.c:209]: db_bind_mod(): using db bind api for db_mysql<o:p></o:p></p><p class=gmail-msonormal>0(1772) DEBUG: <core> [db.c:314]: db_do_init2(): connection 0x7f208368d1b8 not  found in pool<o:p></o:p></p><p class=gmail-msonormal>0(1772) DEBUG: db_mysql [km_my_con.c:98]: db_mysql_new_connection(): opening co nnection: mysql://xxxx:xxxx@server.net1.test/pcscf<o:p></o:p></p><p class=gmail-msonormal>0(1772) ERROR: db_mysql [km_my_con.c:124]: db_mysql_new_connection(): driver er ror: <span style='background:yellow'>Access denied for user 'pcscf'@'pcscf.net1.test' (using password: YES)</span><o:p></o:p></p><p class=gmail-msonormal>0(1772) ERROR: <core> [db.c:318]: db_do_init2(): could not add connection to the pool 0(1772) ERROR: ims_usrloc_pcscf [usrloc_db.c:79]: init_db(): unable to co nnect to the database<o:p></o:p></p><p class=gmail-msonormal>0(1772) ERROR: ims_usrloc_pcscf [ul_mod.c:203]: mod_init(): Error initializing  db connection<o:p></o:p></p><p class=gmail-msonormal>0(1772) ERROR: <core> [sr_module.c:962]: init_mod(): Error while initializing module ims_usrloc_pcscf (/usr/local/lib64/kamailio/modules/ims_usrloc_pcscf.so)<o:p></o:p></p><p class=gmail-msonormal>ERROR: error while initializing modules<o:p></o:p></p><p class=gmail-msonormal><o:p> </o:p></p><p class=gmail-msonormal>To fix the above error, we tried below commands<o:p></o:p></p><p class=gmail-msonormal><b>mysql -u root -p<br>    GRANT ALL ON *.* TO root IDENTIFIED BY 'root';<br>    quit</b><br>- replace bind-address in /etc/mysql/my.cnf to 0.0.0.0 <o:p></o:p></p><p class=gmail-msonormal>But still we are getting the same issue.<o:p></o:p></p><p class=gmail-msonormal>Could any one please help us to resolve this issue. Could any one please guide us the troubleshooting steps.<o:p></o:p></p><p class=gmail-msonormal>Thank you so much in advance.<o:p></o:p></p><p class=gmail-msonormal><o:p> </o:p></p><p class=gmail-msonormal>Regards,<o:p></o:p></p><p class=gmail-msonormal>-kranti<o:p></o:p></p></div></div></body></html>