![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| 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 11:20 PM |
| MySQL conflicts with mysql-3.23.58-16.RHEL3.1 | johnveslin | Red Hat | 2 | 07-17-2007 06:49 AM |
| Mysql | kisoun | UNIX for Advanced & Expert Users | 3 | 09-12-2005 06:54 AM |
| MySQL problem >> missing mysql.sock | _hp_ | UNIX for Advanced & Expert Users | 8 | 11-03-2002 02:44 PM |
| mysql php | macdonto | Security | 1 | 09-19-2001 03:29 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 ![]() |
|
||||
|
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. |
|
||||
|
thank you for the replya
![]() this was a simple case of rtfm. you are right. i was suppose to start mysql.server and copy the appropriate .cnf file to /etc/my.cnf. thanx. ![]() |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|