LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) site:http:

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-17-2012, 11:58 AM
pooyan pooyan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 130
Default Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) site:http:

I installed lsws on DA
when i run
service httpd stop
service lsws start
Also i compiled PHP via console

and test a website display this error:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)


I searched on this forum and find related post and run this command but problem not fixed,

# ln /var/lib/mysql/mysql.sock /tmp
ln: creating hard link `/tmp/mysql.sock' to `/var/lib/mysql/mysql.sock': File exists



Please help me
regards
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:56 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.