Project:Support desk/Sections/Installation

__NEWSECTIONLINK__

= Installation/Legalities Support =

Page Linking Help Needed
Hi, is there a plugin that automatically links key words to other Wiki pages? At the moment I am manually creating links but I'm sure there must be another way?

Any help would be much appreciated!

Mediawiki Appliance Version 1.13.20 Problems
Downloaded rPath Mediawiki Appliance, Running it on VMwear PLayer but can't find the localsettings.php file to edit.

Can't find much documentation. Any help or documentation would be great!

Extension Licensing Guidelines
I was wondering if there were licensing guidelines for extensions. I am combined several extensions with MediaWiki and noticed that some of the extensions have licenses that are incompatible with other extensions (e.g. Affero v.3 with a majority of extensions under GPL v.2). There are also several extensions that have no license indicated--is there a default license if you are coding for combination with MediaWiki? I was wondering if there was already guidance or if there could be some written on these topics. Thanks.

mySQL database username

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.1.33

I am configuring MediaWiki, except the one part I am having problems with is when it is asking me for a database username and password and confirm password. Below that is the superuser account, which is root.

>>>''Granting user permissions... Query "GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `wikidb`.* TO 'username'@'%' IDENTIFIED BY 'password' " failed with error code "Can't find file: 'user' (errno: 2) (localhost)".'' <<<<

But it will not let me continue the configuration unless I specify a user and password since it will not let me leave it blank.

I am installing on Windows XP, just need some help with this issue. I am not very familiar with databases, i know the root user account info, but it is asking for a username and password and confirm password.

Any help would be much appreciated.

homerm@rosedale.ca

What server variables are needed
My neywork admin needs to set server variables to allow the upload to be successful...

Trying to load to www.high12.org,

current php and all info can be seen at www.high12.org/phpinfo.php

currently receive "?"s when attempt to load php is made...admin requesting server settings needed

attempted to register for the forum but never receive conformation email...so hear i am.

I am not able to open setup wiki page, getting the following error
Getting PHP 5.2.1 installed Could not find a suitable database driver! Issue while Installing Mediawiki.


 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12
 * MySQL version: MySQL Server 5.1
 * OS: FreeBSD 8
 * URL: http://localhost/wiki

I am not able to open setup wiki page, getting the following error:

MediaWiki 1.15.1 Installation

* Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.

Checking environment...

Please include all of the lines below when reporting installation problems.

* PHP 5.2.12 installed

Installation of Mediawiki without web forms

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.12
 * MySQL version: 5.2.12

Since I have, generated all in one place, the answers requested on the MediaWiki install form, I would like to install new instances of MediaWiki
 * without using the form manually
 * without driving the form programatically (with, say, )
 * without hacking
 * without reverse-engineering my own install script which calls into parts of MediaWiki to set it up

Isn't there a stable, maintained entrypoint for this? Shouldn't there be?

—Smaines 09:22, 23 March 2010 (UTC)

P.S. Apologies in advance if the answer to this is addressed elsewhere, or is otherwise obvious
 * Command-line installer is scheduled for 1.17, but currently there's no ready solution for this. Max Semenik 09:33, 23 March 2010 (UTC)

That will make a great product even better, thanks for getting back to me. —Smaines 13:29, 28 March 2010 (UTC)

Install failing to connect to MySQL instance

 * MediaWiki version: 1.15.2
 * PHP version: 5.3.2
 * MySQL version: 5.1.45
 * URL: Sorry, it's on my laptop, not the web. :-(

I'm having a problem installing MediaWiki on Windows 7. I did it all OK last week on Windows XP. (They are both in VMs under VMware Fusion on my MacBook.) The problem is in connecting to MySQL: "Attempting to connect to database server as root...failed with error [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

The full install output is:

MediaWiki 1.15.2 Installation Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... Please include all of the lines below when reporting installation problems. PHP 5.3.2 installed Found database drivers for: MySQL PostgreSQL SQLite PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (C:\Windows\Temp) appears to be valid. PHP's memory_limit is 128M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: C:\Programs\Apache Software Foundation\Apache2.2\htdocs\wiki Script URI path: /wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. Generating configuration file... Database type: MySQL Loading class: DatabaseMysql PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. Attempting to connect to database server as root...failed with error [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I am setting the passwords correctly. MySQL is running OK and I can connect to it using the same password I am giving MediaWiki. I have tried opening a firewall hole for the MySQL port and TCP/IP is enabled. In attacking the problem I have uninstalled and reinstalled MySQL several times and PHP once... I'm about out of ideas. :-( 

—Mikepeat 23:44, 5 April 2010 (UTC)


 * PS - I've been through the "OLD_PASSWORD" rigmarole detailed at http://dev.mysql.com/doc/mysql/en/old-client.html... it didn't help. :-( --Mikepeat 00:26, 6 April 2010 (UTC)


 * I have exactly the same problem :| Saturnian 20:14, 11 April 2010 (UTC)
 * I found the solution. The field Database Host must be changed from localhost to 127.0.0.1. Saturnian 20:44, 11 April 2010 (UTC)