I'm setting up MediaWiki on an Ubuntu 18.04 server. After installing the
mediawiki package I went to web installer and got to the "Connect to database" step. I'm using the following settings:
- Database host:
- Database name:
- Database table prefix:
- Database username:
- Database password:
I can SSH into the server, and I used
mysqladmin -u root password to set the root password to
fubar. I can log into MariaDB using
mysql -u root -p and inputting
fubar when prompted. I can see that MariaDB is running properly using
service mysql status.
However, when I try to progress through the MediaWiki installer, I get the following error:
DB connection error: Access denied for user 'root'@'localhost' (localhost).
Check the host, username and password and try again.
What do I need to change here? The password entered in the web installer matches the root password used to log into the database.