MediaWiki Login issue

From Noolaham Foundation
Revision as of 07:30, 27 June 2020 by Natkeeran (talk | contribs) (Created page with "Shrinivasan has written a detailed blog post on this issue to solve. We have to take the backup of the database first before making any changes. While taking backup we need t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Shrinivasan has written a detailed blog post on this issue to solve.

We have to take the backup of the database first before making any changes. While taking backup we need to take all tables in the database except objectcache table

mysqldump -u root wikidb –ignore-table=wikidb.objectcache > database.sql

Here, wikidb is the name of the database that facing the issue.

After that, we have to repair the database manually by logging into the database through the terminal and execute the following command for that respective database.

mysql> REPAIR TABLE objectcache;

This will fix the issue.