Difference between revisions of "MediaWiki Login issue"

From Noolaham Foundation
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
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.
+
* SSH மூலம் நூலக server உள் நுழைய வேண்டும்.
While taking backup we need to take all tables in the database except '''objectcache''' table
+
* பின்னர் database இணை backup செய்தல் வேண்டும்
  
mysqldump -u root wikidb –ignore-table=wikidb.objectcache > database.sql
+
* Backup செய்யும்போது objectcache என்ற Table ஐ தவிர்த்து எடுத்தல் வேண்டும்.
  
Here, wikidb is the name of the database that facing the issue.
+
* Run the following command in the terminal:
 +
** sudo mysqldump -u root -p DB_NAME --ignore-table=DB_NAME.objectcache > database.sql
  
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 Terminal உள் நுழைய வேண்டும்
  
 +
mysql -u username -p
 +
 +
* Use the database:
 +
mysql> use wikidb
 +
Database changed
 +
 +
* Execute the following Command to repair the objectcache Table
 
mysql> REPAIR TABLE objectcache;
 
mysql> REPAIR TABLE objectcache;
  
This will fix the issue.
+
வீடியோ இணைப்பு:
  
 
[[Category:Technology]]
 
[[Category:Technology]]

Revision as of 04:35, 21 July 2020

நூலக இணையதளம் சில நேரங்களில் உள்நுழைவு அனுமதியினை தடுக்கும். அப்போது மீண்டும் அதனை இயங்க வைப்பதற்கு பின்வரும் வழிமுறைகளைக் கையாளல் வேண்டும்.

  • SSH மூலம் நூலக server உள் நுழைய வேண்டும்.
  • பின்னர் database இணை backup செய்தல் வேண்டும்
  • Backup செய்யும்போது objectcache என்ற Table ஐ தவிர்த்து எடுத்தல் வேண்டும்.
  • Run the following command in the terminal:
    • sudo mysqldump -u root -p DB_NAME --ignore-table=DB_NAME.objectcache > database.sql
  • பின்னர் Mysql Terminal உள் நுழைய வேண்டும்

mysql -u username -p

  • Use the database:

mysql> use wikidb Database changed

  • Execute the following Command to repair the objectcache Table

mysql> REPAIR TABLE objectcache;

வீடியோ இணைப்பு: