Softaculous


Topic : Can't connect to local MySQL server through socket


Posted By: doalogue on November 23, 2015, 8:41 am
Hi.
I am running Webuzo on ubunuto 14, everything is running OK including MySQL DB, but when I try to make run some script from SSH it shows the following error:
Code
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have tryed almost any solution I found in google but it still exists. Any idea how to solve this will be great.

Posted By: abhijeetm on November 23, 2015, 1:13 pm | Post: 1
Hi,
Verify whether you are able to login to MySQL server using the same login credentials and same socket.

If you are able to login fine, then let us know what script you are running and how are you connecting to MySQL server from it.

Posted By: doalogue on November 24, 2015, 7:46 pm | Post: 2
I am not sure I fully understood your reply, but I didn't succeed in loging with none of my available credentials (the same 'can't connect' error)

Posted By: nikhil89 on November 25, 2015, 11:51 am | Post: 3
Hi,

We are sorry for the inconvenience caused to you. Can you please open a support ticket here, with your root details so that we can check the issue for you:
http://softaculous.com/support/

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.