'Can't login to phpmyadmin - Valet

I just install PHPMyAdmin using valet and I got this URL: http://phpmyadmin.test/

Now using username = root and password = root are not working. Can you tell me how I can I access the PHPMyAdmin?

What is my Goal:

  1. I want to use WordPress on my localhost computer so that the domain will like something like WordPress.test, practice.test
  2. So, I install the valet.
  3. I install phpmyadmin
  4. I install MySQL

now from the command line, I can't log into the MySQL as it's saying to me:

Access denied for user 'root'@'localhost' (using password: NO)

Even I can not login from the http://phpmyadmin.test/



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source