Topic on Project:Support desk

How to install MediaWiki Version 1.23.5?

5
87.180.158.114 (talkcontribs)
  • XAMPP 1.8.3
  • MediaWiki Version 1.23.5
  • PHP Version 5.5.15
  • Database MySQL Version 5.6.20

Hello, I've downloaded XAMPP and get an error when I try to install MediaWiki Version 1.23.5. It requires a password for connection to the database with the user 'root' because it isn't safe without a password. I thought MediaWiki creates the database by itself and sets the password?!?

Florianschmidtwelzow (talkcontribs)

> I thought MediaWiki creates the database by itself

No, it will create the tables into the database, that's why it needs the password ;)

> and sets the password?!?

No :) The user has to be created for MediaWiki (with a password). With this credentials, MediaWiki will create the tables into an existing database (you have to create this database, too). For this you can use phpMyAdmin (should be included in XAMPP).

87.180.140.235 (talkcontribs)

Thank you! It wasn't that tricky in previous versions.

Ciencia Al Poder (talkcontribs)

That's not correct. Mediawiki can create both the user and the database. When you follow the installation script, there's one step where you can provide privileged mysql account credentials and also credentials for the database user MediaWiki will use, so it can create the database and create the user with the necessary privileges. If you don't provide the privileged user, MediaWiki will assume the database and the user already exist.

Florianschmidtwelzow (talkcontribs)

That's what i mean, but for this you need an initial database user with the privileges to do that :)

Reply to "How to install MediaWiki Version 1.23.5?"