MySQL Error During Fresh Installation

4 posts / 0 new
Last post
#1 Tue, 08/02/2016 - 05:51
juliereader

MySQL Error During Fresh Installation

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)

Please check

Tue, 08/02/2016 - 10:29
andreychek

Howdy,

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.

-Eric

Fri, 08/05/2016 - 04:18 (Reply to #2)
juliereader

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?

Wed, 08/17/2016 - 10:21
Freddy63
Freddy63's picture

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.

Topic locked