![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySQL article - Sun and MySQL: How It Stacks Up for Developers | iBot | UNIX and Linux RSS News | 0 | 02-28-2008 07:20 PM |
| MySQL conflicts with mysql-3.23.58-16.RHEL3.1 | johnveslin | Linux | 2 | 07-17-2007 03:49 AM |
| Mysql | kisoun | UNIX for Advanced & Expert Users | 3 | 09-12-2005 03:54 AM |
| MySQL problem >> missing mysql.sock | _hp_ | UNIX for Advanced & Expert Users | 8 | 11-03-2002 10:44 AM |
| mysql php | macdonto | Security | 1 | 09-19-2001 12:29 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
mysql would not start: missing mysql.sock
I recently installed mysql-standard-5.0.21-solaris9-sparc-64bit.pkg on a Solaris 9 machine (SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Ultra-250). The package installation went very smooth, however, starting mysql is a different story. I get the message below everytime I try to start mysql:
# mysql start ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) According to pkginfo -l, the installation was successful: # uname -a SunOS <hostname> 5.9 Generic_118558-19 sun4u sparc SUNW,Ultra-250 # pkginfo -l mysql PKGINST: mysql NAME: MySQL Community Edition - Standard (GPL) CATEGORY: application ARCH: sun4u VERSION: 5.0.21 BASEDIR: /opt/mysql VENDOR: MySQL AB PSTAMP: MySQL AB Build Engineers INSTDATE: May 25 2006 10:40 EMAIL: build@mysql.com STATUS: completely installed FILES: 1668 installed pathnames 54 directories 99 executables 163084 blocks used (approx) I also did a find on mysql.sock, and I came up with nothing. Any ideas? I would really appreciate any help or advise |
| Forum Sponsor | ||
|
|
|
|||
|
That means the server has not been started. In the first command you posted "mysql", you seems to be starting the mysql client, not the server. If the server is not yet started local client connection will fail.
Find out if the package has a mysql server init script and try starting it first. |