The following issue has been SUBMITTED. ====================================================================== https://www.opencsw.org/mantis/view.php?id=5196 ====================================================================== Reported By: keziacp Assigned To: ====================================================================== Project: mysql5 Issue ID: 5196 Category: regular use Reproducibility: always Severity: crash Priority: normal Status: new ====================================================================== Date Submitted: 2014-08-04 14:20 CEST Last Modified: 2014-08-04 14:20 CEST ====================================================================== Summary: Can't connect to local MySQL server through socket '/tmp/mysql.sock' Description: cant locate where is mysql.sock
i did this steps before: pkgutil -i CSWmysql5 96 mysql 97 find / -name mysql 98 /opt/csw/bin/mysql 99 /usr/mysql 100 pkgutil 101 mysql 102 find / -name mysql.sock 103 mysql --socket=/var/lib/mysql/mysql.sock 104 mysqladmin 105 mysqladmin version but it doesnt work. root@nagios2:/opt# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) root@nagios2:/opt# mysql -V mysql Ver 14.14 Distrib 5.5.37, for solaris10 (sparc) using readline 5.1 svcs -a | grep mysql disabled 8:55:35 svc:/network/cswmysql5:default svcadm enable cswmysql5 root@nagios2:/opt# svcs -a | grep mysql maintenance 9:17:38 svc:/network/cswmysql5:default ======================================================================