Assuming you copied and pasted the error, it looks like the host made a typo in the config
Should probably be mysql, not myswl.
From: Rick James [mailto:rjames@stripped]
Sent: Monday, March 18, 2013 3:32 PM
To: Patrice Olivier-Wilson; mysql@stripped
Subject: RE: MySQL Error#: 2002
Check directory permissions, and check out the 'answers' in here:
> -----Original Message-----
> From: Patrice Olivier-Wilson [mailto:biz@stripped]
> Sent: Monday, March 18, 2013 12:05 PM
> To: mysql@stripped
> Subject: MySQL Error#: 2002
> I have about 60 websites based on mysql and php. Suddenly they have
> all gone blank, just white pages. The files are still on the server
> and I can see the tables in all the databases via myphpadmin
> interfact. I'm not getting any response from hosting gods yet. When I
> try to connect to server via Dreamweaver, the error message is: MySQL
> Error#: 2002 Can't connect to local MySQL server through socket
> I have one site that uses a different IP number that that site is ok.
> My static sites, ie, no database inclusion, are ok.
> Any ideas what to look for, most appreciated.
> Patrice Olivier-Wilson
> "Everything will be alright in the end, so if it is not alright, it is
> not yet the end." - Quote from movie: The Best Exotic Marigold Hotel
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql
Notice: This communication may contain privileged and/or confidential information. If you
are not the intended recipient, please notify the sender by email, and immediately delete
the message and any attachments without copying or disclosing them. LBI may, for any
reason, intercept, access, use, and disclose any information that is communicated by or
through, or which is stored on, its networks, applications, services, and devices.