Can't install WP on a server

Guys, I’ve been trying to install WP on a sub-server and I keep getting this error:

Now installing WordPress version 5.8.1 ..
Database connection failed : mysql::execute_sql failed : DBI connect failed : Access denied for user 'root'@'localhost' (using password: YES)
.. failed! See the error message above for the reason why.

I’ve checked the password for Mariadb and for the user and they match. I also ran the VM Wizard and set the name password but, nothing works. I haven’t been able to find a solution for this. Could anyone please point me in the right direction. Thanks in advsnce.

|—|—|
|||
|OS type and version:|UBUNTU 20.07|
|Webmin version:|1.981|
|Virtualmin version:| 6.17-3 Pro|
|Related products version:|RECOMMENDED|

This is going to sound silly, but I’ve seen it happen before:

Check the virtual server you’re trying to install Wordpress on and make sure you have mysql database enabled.

Go to your virtual server, edit virtual server and make sure it’s checked:

Thanks… But, this is one of them days where an alien is inside the system. I’ve been trying this for about 4 hours now, and I just tried it one last time and it installed… I think I’m going to have a beer now… TY

1 Like