I can't use mysql

I have just purchased Linode,my system is ubuntu 14.04 LTS.

I followed the start-up guide to install everything needed. But get failed in Mysql.

It always print errol :"

error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'

Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

"

I don't know what to do next. Please help.

Thanks a lot

2 Replies

Here's the possible solution to your query -

http://stackoverflow.com/questions/1199 … ysqld-mysq">http://stackoverflow.com/questions/11990708/error-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq

Hope this will help you.

I assume you might be following this guide:

https://www.linode.com/docs/websites/la … untu-14-04">https://www.linode.com/docs/websites/lamp/lamp-server-on-ubuntu-14-04

Have you properly installed MySQL server, configured it, and made sure it's running?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct