I installed virtualmin on centos 6 64 bit today and if post installation wizard in the end when it asks for root password for MySQL, i entered the password and it gave me the error
DBI connect failed : Access denied for user ‘root’@‘localhost’ (using password: NO)
Is there already a password set in this case?
Virtualmin is expecting that there isn’t a password set yet, the password it’s asking for is so it can initially set a password.
If a password is already set though, you can go into the MySQL module config, and set an “Administrative Password” to use for MySQL.
i didnt set any password and its not letting me set the password during installation. I have to go to mysql services first to set the password and then re-start the post-installation process
Also i am facing the big issue here.
The virtualmin is not creating ns1 and ns2 name servers records by default.
It just creates 1 ns record with main domain
Do you have any idea about it?
I came across this error couple of months ago. I think it’s a bug. I installed Virtualmin using bash script and MySQL password was set during the process. Then I get this error during the post installation.
The MySQL password set during the installation is same as server root password. But entering it at the post installation will still give you the error. But it works when you click back button and enter password again.