MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:August 23 1999 11:32am
Subject:socket problem
View as plain text  
Deniz Demir writes:
 > I have compiled the mysql 3.22.25 under a Linux on sparc machine and executed the
daemon, everything looks good so far but when I attempt to execute mysql, it have given me
socket error, it says can't connect to local mySQL server through socket '/tmp/mysql.sock'
 > 
 > I had seen this error again while other installation such as linux on x86 or solaris
on sparc, and I had overcome by a way but now I can not remember how to do this. Can
anybody help me?
 > 
 > Regards,
 > Deniz Demir.


Hi!

There are several solutions to this.

First check, with ps, if mysql server is running at all.

If it is running look at a starting script with which --socket option
is is started.

Next, see whether your user has read/write permissions on the socket / 
directory !

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped|
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+
Thread
socket problemDeniz Demir23 Aug
  • socket problemsinisa23 Aug
Re: socket problemsinisa23 Aug