Connection for control user as defined in your configuration failed – Ubuntu phpmyadmin Resolve?

Share Me
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Today now in post i would like to show you how to Resolve Ubuntu phpmyadmin Connection for control user as defined in your configuration failed .When i was working on my PHP project on my current system and on phpmyadmin was working very well. but some days ago when i was working on my new projects suddenly i found following error when i try to open localhost/phpmyadmin,:

Connection for controluser as defined in your configuration failed.

I was try lot of time to solve. i also reboot my ubuntu system again but i was found still that issue. i was very disappointed from this issue. But when i was open my PHP Laravel framework project and then i was found bellow issue:

can't connect to local mysql server through socket '/var/run/mysqld/mysqld.sock' (2) in ubuntu

So when i was found above error on my browser then i was thought it maybe need to restart my mysql service and i was run the following command on my terminal. And finally i got my solutions.

sudo service mysql start

Read Also : How to convert Object into Array in PHP?

Thanks for read. I hope it help you. For more you can follow us on facebook.

About code chef

My name is Shahriar sagor. I'm a developer. I live in Bangladesh and I love to write tutorials and tips that will help to other Developer's. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.

View all posts by code chef →