ItSolutionStuff.com

Connection for controluser as defined in your configuration failed - Ubuntu phpmyadmin Resolve?

By Hardik Savani • May 14, 2024
Ubuntu

When i was working on my PHP project since last 1 year on my current system and phpmyadmin was working very well. but one day i was working on my prjects and electricity off suddenly and when electricity on, i start my system again and open localhost/phpmyadmin, then i found following error:

Connection for controluser as defined in your configuration failed.

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

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

when i found above error on my browser then thought it maybe need to restart mysql service and i run following command on my terminal.

sudo service mysql start

I solve this issue but try this it can help you...

Tags: Ubuntu
Hardik Savani

Hardik Savani

I'm a full-stack developer, entrepreneur, and founder of ItSolutionStuff.com. Passionate about PHP, Laravel, JavaScript, and helping developers grow.

📺 Subscribe on YouTube

We Are Recommending You

How to Increase max_input_vars in PHP Ubuntu?

Read Now →

How to Set Up Password Authentication with Apache in Ubuntu?

Read Now →

How to Install Composer in Ubuntu Server?

Read Now →

How to Change PHP Version in Ubuntu Server?

Read Now →

How to Install Phpmyadmin in Ubuntu Server?

Read Now →

How to Install MySQL in Ubuntu Server?

Read Now →

How to Export Mysql Database using Command Line in Ubuntu?

Read Now →

How to Upgrade PHP Version from 7.3 to 7.4 in Ubuntu?

Read Now →

How to Upgrade PHP Version from 7.2 to 7.3 in Ubuntu?

Read Now →

How to Enable Apache mod_rewrite Module in Ubuntu?

Read Now →

How to Upgrade Node.js Version in Ubuntu?

Read Now →

How to Enable Rewrite Mode for Apache in Ubuntu?

Read Now →