Yes i did.   And restarted mysqld and httpd.  But still not working.

Thanks

Mario San Vicente


> El 15 dic 2021, a la(s) 16:14, Joseph Jackson <jjack...@aninetworks.net> 
> escribió:
> 
> 
> Did you also change the location of the socket file in the my.cnf?
>  
>  
>  
> From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Mario San 
> Vicente
> Sent: Wednesday, December 15, 2021 11:27 AM
> To: OpenSIPS users mailling list
> Subject: [OpenSIPS-Users] how to change mysql data directory to CP
>  
> Hello Everyone,
>  
> 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.
>  
> Getting the following error:
>  
>  
> http://x.x.x.x/cp/login.php
> 
> Error!: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through 
> socket '/var/lib/mysql/mysql.sock' (2)
>  
> Any idea, where to update this?
>  
> Saludos!
>  
>  
> Mario San Vicente
>  
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to