Manual talk:Lock the database

Latest comment: 2 years ago by Marimonomori in topic Can't be unlocked
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

This really does not work for me! :(


I am trying to upgrade from 1.5.1 to 1.9.2. I cannot find either $wgReadOnly or $wgReadOnlyFile in my localsettings.php. Is this a new line I am supposed to be adding? Because the way I read it, it's supposed to already be there and I just add the reason. Furthermore, the alternative of locking mysql is even less helpful since I know even less about mysql. Some really simple, step by step, up to date, clear instructions that assume we don't know anything but without being insulting would be greatly appreciated. Natcolley 18:55, 17 March 2007 (UTC)Reply

You need to add this line to your LocalSettings.php file:
$wgReadOnly='enter reason here'

Thunderhead 18:34, 3 September 2007 (UTC)Reply


So what things i have to put to $wgReadOnlyFile in LocalSettings.php so i am able to use lockdb and unlockdb? --84.249.165.65 15:18, 19 April 2009 (UTC)Reply

"Also note that this works by writing resp. deleting the file " - What the heck does this mean? Schalice 17:40, 28 January 2012 (UTC)Reply

I guess it means that Special:Lockdb and Special:Unlockdb create resp. delete the file specified by $wgReadOnlyFile in order to lock or unlock the database. -- Duesentrieb 18:13, 28 January 2012 (UTC)Reply

Can't be unlocked

edit

Hello.I was about to unlock the database from "Special:UnlockDB".but couldn't be unlocked. Is this bug? Marimonomori (talk) 13:28, 12 November 2022 (UTC)Reply

Return to "Lock the database" page.