Unable to login in to LAMP on Ubuntu

1136685 pts.
Tags:
LAMP
Linux
Ubuntu
I recently installed LAMP on Ubuntu and then set my root password on phpMyAdmin. I already forgot the password and I can't login. I tried to change the password through the terminal, I've been getting this: "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)." How can I fix this?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can try the below command to reset the password for mysql and try with login



sudo mysqladmin password newpassword

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: