mysqli:real_connect() (hy000): access denied for user ‘root’@’localhost’ (using password: No/Yes)

Try to access phpmyadmin db and get the error mysqli::real_connect(): (hy000/1045/1698/28000): Access denied for user ‘root’@’localhost’ (using password: yes or no), This means that incorrect database details are configured on the mysql server. The error

phpmyadmin access denied for user ‘root’@’localhost’ (using password yes/no) – MySQL

Sometimes, you want to connect to mysql database using phpmyadmin in linux. Then you may face errors such as the “Access denied for user ‘root’@’localhost’ (using password yes/no) in PHPMyAdmin mysql linux” error. In this