OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005196 [mysql5] regular use minor always 2014-08-04 14:20 2014-08-09 14:18
Reporter keziacp View Status public  
Assigned To laurent
Priority low Resolution open  
Status feedback  
Summary 0005196: 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


Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010884)
laurent (manager)
2014-08-04 14:25

Please provide those two files:
/var/svc/log/network-cswmysql5:default.log
/etc/opt/csw/my.cnf


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker