lamp - command line mysql client not opening ubuntu 12.10 -


i unable start mysql client in terminal use following command stat mysql client

sudo mysql

and got following error

error 2002 (hy000): can't connect local mysql server through socket '/var/run/mysqld/mysqld.sock' (2)

i use command start server

sudo /opt/lampp/lampp start

please tell doing wrong .

try mysql -u root -h 127.0.0.1.

for reason mysql xampp doesn't bind socket.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -