Re: MediaWiki cannot access database after upgrade

John <[email protected]>
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <CAP-JHpnrCeMKE-DVDQzgF6n-mEYR-=1WpgZr7gtV-eXzqOAVpg@mail.gmail.com>
Also I would have upgraded in steps. I never recommend doing more than one
LTS worth of jumps at a time. When you Start jumping too many versions
weird things can start happening.

On Tue, Mar 30, 2021 at 4:38 PM Jeffrey Walton <[email protected]> wrote:

> On Tue, Mar 30, 2021 at 4:30 PM Bart Everson <[email protected]> wrote:
> >
> > Happy to report that I fixed the problem described in my previous query.
> I did it by making a fresh install in a new database, which generated a
> proper LocalSettings.php file. Edited this to point to the old database
> and  voila -- everything fixed.
> >
> > So, it would seem the upgrade process may have some issue with old
> LocalSettings.php files. Hope this helps somebody.
>
> Yeah, that seems to happen on occasion with old LocalSettings.php from
> previous installations. We have experienced it several times because
> we started our wiki in 2005 or so.
>
> One other thing you should be sure to do... run 'php
> maintenance/update.php' after each upgrade. If the database changes,
> then update.php is what handles the changes for you.
>
> Jeff
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.