First of all, Mediawiki 1.25 is out of date and has publically known
security vulnerabilities. You should upgrade.
For the error, I would start by checking $wgDBServer. If your db is on the
same host as mediawiki and commandline is working, it could be something
like using network vs local socket. If 'localhost' is not working try
'127.0.0.1' instead (or vice versa)
Beyond that, I would look into if there is anything preventing mediawiki
from talking to the db (e.g. firewall, selinux, etc)
On Friday, November 17, 2017, Daryl Rose <rosede12(a)gmail.com> wrote:
I just moved an existing environment from a SLES 11 SP4 xampp/Bitnami
installation to a CentOS 7.4, Apache, MySQL, PHP environment. There were
security issues with the original installation, so I had to move to
something that I could upgrade components when as vulnerabilities are
According to the documentation, I should be able to export/import the
database and then copy over the MediaWiki directory, and all should me
good. Well, there are a couple of minor gotcha's in the doc's, but for the
most part, it's pretty straight forward.
I had a few minor issues with the php, but once I got that figured out, I
now get a page that tells me that the site is experiencing technical
difficulties (Cannot access the database).
I've verified that the database name, user name and password are correct.
From the command line, I can access the database using the database user
and I can see the tables.
I'm not a DBA or a developer, so I'm not sure where to start
troubleshooting. Other than verifying that the credentials are correct.
The original installation was PHP v5.6.12 and the new installation is PHP
v5.6.32. Other than that, I believe everything else is the same.
MediaWiki is V1.25.
Any suggestions on where to start looking?
MediaWiki-l mailing list
To unsubscribe, go to: