Page MenuHomePhabricator

Installer creates users with the name "{$wgDBuser}"
Closed, ResolvedPublic

Description

Looks like the installer is broken again. When having MW create a db user itself it goes and creates users with the name "{$wgDBuser}" now.

It was previously broken in a different way, I fixed it... now it's broken again... don't feel like fixing it myself right now.


Version: 1.18.x
Severity: blocker

Details

Reference
bz27053
TitleReferenceAuthorSource BranchDest Branch
remove stretch-* definitionsrepos/releng/dev-images!2brennenbrennen/remove-stretch-definitionsmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:19 PM
bzimport set Reference to bz27053.

marking as 1.17 blocker for now till we ensure that it isn't.

Confirmed, taking bug. Re-adding blocker status.

The following patch fixes the username, though I'm still unable to log in with that account.

Index: MysqlInstaller.php

  • MysqlInstaller.php (revision 81910)

+++ MysqlInstaller.php (working copy)
@@ -463,6 +463,8 @@

	public function getSchemaVars() {
		return array(
			'wgDBTableOptions' => $this->getTableOptions(),

+ 'wgDBuser' => $this->getVar( 'wgDBuser' ),
+ 'wgDBpassword' => $this->getVar( 'wgDBpassword' ),

		);
	}