do you know if the mysql daemon is running.. ?? when you do:
 ps -aux | grep mysql,

what do you see. .do you see mysqld?


-----Original Message-----
From: eng.waleed [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 8:16 AM
To: [EMAIL PROTECTED]; mysql@lists.mysql.com
Subject: Re: socket error


the file mysql.sock does not exist what I have to do?
----- Original Message -----
From: "bruce" <[EMAIL PROTECTED]>
To: <mysql@lists.mysql.com>
Sent: Thursday, December 21, 2006 4:35 PM
Subject: RE: socket error


> you might also need to check that the my.cnf file is configured to
> reference
> the sock file. additionally, you should check to make sure the mysql
> app/daemon is even running. (this has bit me a few times when i've been
> tired!!)
>
>
> sample my.cnf file......
> [EMAIL PROTECTED] ~]# cat /etc/my.cnf
> [mysqld]
> datadir=/var/lib/mysql
> socket=/var/lib/mysql/mysql.sock
> set-variable = max_connections=3
> #set-variable = log-error=/var/log/mysql_err.log
> #set-variable = log=/var/log/mysql_query.log
> ##set-variable = log-bin=/var/log/mysql_bin.log
> #set-variable = log-slow-queries=/var/log/mysql_slow.log
> # Default to using old password format for compatibility with mysql 3.x
> # clients (those using the mysqlclient10 compatibility package).
> old_passwords=1
>
> [mysql.server]
> user=mysql
> #basedir=/var/lib
> basedir=/usr
>
>
> [mysqld_safe]
> err-log=/var/log/mysqld.log
> pid-file=/var/run/mysqld/mysqld.pid
>
>
> -----Original Message-----
> From: Lemuel Formacil [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 21, 2006 6:25 AM
> To: mysql@lists.mysql.com
> Subject: Re: socket error
>
>
> On Thursday 21 December 2006 02:25, eng.waleed wrote:
>> hi
>> I have this error on mysql engine Could not connect: Can't connect to
> local
>> MySQL server through socket '/var/lib/mysql/mysql.sock' (13) is there any
>> suggestion my version is 3.23.58
>> BR
>
> I think it's either you don't have read permissions to the socket
> file '/var/lib/mysql/mysql.sock', or it doesn't exist.  Can you check?
>
>
> Lemuel
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
> http://lists.mysql.com/[EMAIL PROTECTED]
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
> http://lists.mysql.com/[EMAIL PROTECTED]
>
>


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to