DBI conected failed: Access denied for user "root@localhost" (using password: NO)

During the "Post Install" via the wizard, after entering a "MySQL Root Password" into the form, then clicking submit, the error is produced:

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

*** This issue has been around for a while. It seems either something about CentOS 7 or the Virtualmin Installer is having a problem. ***

The issue above causes the Virtualmin Installer NOT to delete "test" database, or remove the "anonymous" user accounts which then need to be performed manually.

Clicking the button to return to the previous page does produce a form field which now has the new password. After this, the install process completed successfully through the remaining steps.

*** ClamAV is the only other error during the install, but this is a known issue with a workaround available ***




Are you running virtualmin 5.99 there? I thought I fixed this in the latest release..

tpnsolutions's picture
Submitted by tpnsolutions on Wed, 07/19/2017 - 02:51

Yes, it was a fresh install using the "install.sh" script. Though, the issue has persisted for the past few versions.

Hmm, I thought we fixed this. Did you use the checkbox to forcibly change the MySQL root password?