Manual talk:Lock the database
Add topicAny 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)
- You need to add this line to your LocalSettings.php file:
$wgReadOnly='enter reason here'
Thunderhead 18:34, 3 September 2007 (UTC)
- Make sure not to put it at the top of the file. It seems to work under the $wgSitename and $wgRedirectScript. --68.122.119.0 15:22, 26 January 2008 (UTC)
Note that the above conversation may have been edited or added to since the transfer. If in doubt, check the edit history.
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)
"Also note that this works by writing resp. deleting the file " - What the heck does this mean? Schalice 17:40, 28 January 2012 (UTC)
- 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)
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)