Manual talk:Installing MediaWiki/LQT Archive 1

Moving a DB
Hi,

I would like to move a previous installation of mediawiki + postgresql from a mac osx system to a linux/Ubuntu system. What are the steps that I should follow?

MySQL Installation Instructions Unclear
"If you know the root password on your database, the MediaWiki installation script can create a new database for you." Huh? How can one "know" or use a password for a database that hasn't yet been created?

Answer
Root password refers to MySQL Admin password. If you know root password, you can create and alter any database.
 * The Configuration wizard of MySQL allows you to specify or change a root password, without having to create a database first. But MediaWiki requires both a user name and a password for authentication, or else you will receive the error message HTTP 401.1 or HTTP 401.2. However, I can't for the life of me figure out what user name is requested here (IUSR_, everyone?). Any suggestions? For the record, I'm trying to create a personal wiki with Windows XP Professional, IIS 5.1, PHP 5.3 and MySQL 5.1 Essentials. Cavila 12:18, 3 June 2010 (UTC)
 * OK, since that post I found out that checking "Anonymous access" in IIS (perhaps in Apache, too) bypasses the need to log on in the Mediawiki authentication screen. You will then be able to set up your wiki and create a user/database. Cavila 13:33, 13 June 2010 (UTC)

Security instructions missing
This page does not mention how to secure MediaWiki while/after installing. That should be an integral part of installation. In the very least, it should give some hint as to what to do with LocalSettings.php which if not protected can give anyone access to plaintext passwords. Even on that page, there is only one reference to securing the file, and it is not explained how to go about doing it. — Epastore 15:11, 28 May 2008 (UTC)

Installation Securing
I noticed anyone can access or reinstall the script after you are done with the install! ADOMAINNANE.SOMETHING/mw-config/index.php?page=DBConnect Someone could have connected their database to my website. I deleted the /mw-config/ folder when I was done. --MatrixVortex 04:29, 12 July 2011 (UTC)


 * A LocalSettings.php file has been detected. To upgrade this installation, please enter the value of $wgUpgradeKey in the box below. You will find it in LocalSettings.php. —Emufarmers(T 06:35, 12 July 2011 (UTC)

After installation instructions found
I found this page Every one should look at it after installation or upgrade http://www.mediawiki.org/wiki/Manual:Config_script --MatrixVortex 18:03, 12 July 2011 (UTC)

Installing MediaWiki using hosting services
It might be good to give a hint that running and maintaining MW on servers to which you have only limited access - like almost all hosting services don't allow shell access – can be problematic because you cannot run the necessary maintenance scripts. Some service providers do run those scripts for you but it might be worth to figure that out right from the start. My best, --Gollum 16:24, 6 August 2008 (UTC)

Installing MediaWiki on a Hosting Service, Such as IPower Web
I am not quite sure on how to approach this, but I have tried, using the EXACT detail in the install instructions to install this using vDeck on Ipower. I have PHPMyAdmin set up and going. PHP 5 is being used, everything is enabled. However I still get this error,...

"The server encountered an unexpected condition which prevented it from fulfilling the request. The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log."

I am an experienced Programmer, however I do not know everything. IPower-Web will not help with the situation, no one else knows, and I do not have all of the time in the world to fight with this. So if people have experience with popular hosting services, can sections on these hosts be created to help people install MediaWiki.

--TheCyndicate 09:20, 9 October 2008 (UTC)

I encountered the same issue with my web host (iPage) and what I did is just installing mediawiki locally. Then, I exported the local database and import it to the online one. I copied the files on the ftp and then, it looks like it's working fine!

Link to upgrading?
Can we put a link on this page to the upgrading information (Manual:Upgrading)? Or even one on the download page (Download)? Seems like a logical thing to have for me, as that was where I was looking for the links ;-) -- Dr DBW  |  talk  23:39, 12 March 2009 (UTC)

Postgresql schema
When using Postgresql for the database, the installer defaults to offering to have wikiuser create a new schema. However wikiuser may not have authority to create a new schema. Therefore I created a new schema myself (as superuser) and set the owner of the schema to wikiuser. I haven't edited the article to reflect this because I don't know how widely the problem and solution are applicable. --Northernhenge 16:15, 9 October 2011 (UTC)