Jump to content

Topic on Project:Support desk

I just installed MediaWiki 1.42, and I get fatal error connecting to DB

3
Sir Berzerk (talkcontribs)

Original exception: [ac5e92b0d2f6ecce1f33f1a8] /index.php Wikimedia\Rdbms\DBConnectionError: Cannot access the database: Access denied for user 'wiki_user'@'192.168.0.5' (using password: YES) (192.168.0.20)

It says the user is denied, but I used the same user that I installed with, and the installer had no trouble installing the tables.

Can someone explain why it can't connect to the DB? DB is remote, in the same network.

Sir Berzerk (talkcontribs)

I'm using mariadb also.

Sir Berzerk (talkcontribs)

Found out the cause, I needed to restart my php-fpm.