After a successful installation at the initial start of MySQL, the page suggested that I set up a ROOT password for security.
When setting a password, I can no longer access MySQL. Error:
1045 - Access denied for user 'root'@'localhost' (using password: NO)
I looked on the network and tried the following parameters in config.inc.php from the phpmyadmin file:
Set authentication to "http" so it asks for username and password
/* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'http';
Set the correct password in the configuration file
$cfg['Servers'][$i]['password'] = 'myPwd';
None of them worked.
Can anyone suggest a workaround for accessing MySQL? I did not fuss about the fact that I canβt use the root account, but I would like to use a different username in the database CRUD.
Codex source share