If you don’t know what the MySQL username is, then you have to find a way to check the MySQL username.
Here is the default user name and password of MySQL: the user name is root and the password is empty.
user = “root”;passwor=“”;
If it is not the default user, you need to enter MySQL and enter the following statement to view the user name.
select * from mysql.user;
The above is the detailed content of What is mysql username?. For more information, please follow other related articles on the PHP Chinese website!