<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">You need to update the DB settings in this
      file:<br>
      <br>
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips-cp/blob/master/config/db.inc.php">https://github.com/OpenSIPS/opensips-cp/blob/master/config/db.inc.php</a><br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021 
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
    <div class="moz-cite-prefix">On 12/16/21 1:52 AM, mrsanvicente
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:8F36E70C-7BB8-4504-8483-B843034E917C@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Yes i did.   And restarted mysqld and httpd.  But still not
      working.
      <div><br>
      </div>
      <div><br>
        Thanks<br>
        <div dir="ltr"><br>
          <div>Mario San Vicente
            <div><br>
            </div>
          </div>
        </div>
        <div dir="ltr"><br>
          <blockquote type="cite">El 15 dic 2021, a la(s) 16:14, Joseph
            Jackson <a class="moz-txt-link-rfc2396E" href="mailto:jjackson@aninetworks.net"><jjackson@aninetworks.net></a> escribió:<br>
            <br>
          </blockquote>
        </div>
        <blockquote type="cite">
          <div dir="ltr">
            <meta http-equiv="Content-Type" content="text/html;
              charset=UTF-8">
            <meta name="Generator" content="Microsoft Word 14 (filtered
              medium)">
            <style>@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#44546A;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}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]-->
            <div class="WordSection1">
              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A">Did
                  you also change the location of the socket file in the
                  my.cnf?<o:p></o:p></span></p>
              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A"><o:p> </o:p></span></p>
              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A"><o:p> </o:p></span></p>
              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A"><o:p> </o:p></span></p>
              <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
                  Users [<a class="moz-txt-link-freetext" href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a>]
                  <b>On Behalf Of </b>Mario San Vicente<br>
                  <b>Sent:</b> Wednesday, December 15, 2021 11:27 AM<br>
                  <b>To:</b> OpenSIPS users mailling list<br>
                  <b>Subject:</b> [OpenSIPS-Users] how to change mysql
                  data directory to CP<o:p></o:p></span></p>
              <p class="MsoNormal"><o:p> </o:p></p>
              <div>
                <p class="MsoNormal">Hello Everyone,<o:p></o:p></p>
                <div>
                  <p class="MsoNormal"><o:p> </o:p></p>
                </div>
                <div>
                  <p class="MsoNormal">I have changed my mysql directory
                    and a had limited space on the default partition. 
                     I applied the change and opensips is working fine. 
                    But the control panel is not working and i can not
                    find where to update it.<o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><o:p> </o:p></p>
                </div>
                <div>
                  <p class="MsoNormal">Getting the following error:<o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><o:p> </o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><o:p> </o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><a
                      href="http://x.x.x.x/cp/login.php"
                      moz-do-not-send="true">http://x.x.x.x/cp/login.php</a><br>
                    <br>
                    <span style="font-size:13.5pt;color:black">Error!:
                      SQLSTATE[HY000] [2002] Can't connect to local
                      MySQL server through socket
                      '/var/lib/mysql/mysql.sock' (2)</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><o:p> </o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span style="color:black">Any
                      idea, where to update this?</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><o:p> </o:p></p>
                </div>
                <div>
                  <p class="MsoNormal">Saludos!<o:p></o:p></p>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <p class="MsoNormal"><o:p> </o:p></p>
                  <div>
                    <div>
                      <p class="MsoNormal">Mario San Vicente<o:p></o:p></p>
                    </div>
                    <div>
                      <p class="MsoNormal"><o:p> </o:p></p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <span>_______________________________________________</span><br>
            <span>Users mailing list</span><br>
            <span><a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></span><br>
            <span><a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></span><br>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>