Re: not able to connect to mysql
- From: Brian Wakem <no@xxxxxxxxx>
- Date: Fri, 06 Jan 2006 13:32:49 +0000
HP wrote:
> the whole error string is-
>
> Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (13)
>
>>Probably a permissions issue
>
> i am creating the file with root permission, changing the mode of file
> chmod 755
>
> do you think anything wrong here?
Yes mysql needs to own the file and have permission to write to it. Also
you need to check that mysql is actually running and that the path to the
sock file is correct in the first place.
--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png
.
- Follow-Ups:
- Re: not able to connect to mysql
- From: HP
- Re: not able to connect to mysql
- From: HP
- Re: not able to connect to mysql
- From: HP
- Re: not able to connect to mysql
- From: HP
- Re: not able to connect to mysql
- References:
- not able to connect to mysql
- From: HP
- Re: not able to connect to mysql
- From: Brian Wakem
- Re: not able to connect to mysql
- From: HP
- not able to connect to mysql
- Prev by Date: Re: calling subroutine , name derived from variable
- Next by Date: Re: not able to connect to mysql
- Previous by thread: Re: not able to connect to mysql
- Next by thread: Re: not able to connect to mysql
- Index(es):
Relevant Pages
|
|