Page MenuHomePhabricator

Installer fails with mysql error (only PHP PDO + sqlite3 are present)
Closed, ResolvedPublic

Description

Author: walter

Description:
On the 'Connect to database' step, the installer fails with a MySQL related error even though MySQL is not relevant since only PHP PDO and sqlite3 are present on the system and the intention is to use SQLite3. Documentation suggests this is a fairly standard configuration that should be fully supported by the installer.

[6d919bda] /wiki/mw-config/index.php?page=DBConnect Exception from line 788 of /var/www/localhost/htdocs/mediawiki-1.22.0/includes/db/Database.php: DatabaseBase::factory no viable database extension found for type 'mysql'

Backtrace:

#0 /var/www/localhost/htdocs/mediawiki-1.22.0/includes/installer/WebInstallerPage.php(487): DatabaseBase::factory(string)
#1 /var/www/localhost/htdocs/mediawiki-1.22.0/includes/installer/WebInstaller.php(275): WebInstaller_DBConnect->execute()
#2 /var/www/localhost/htdocs/mediawiki-1.22.0/mw-config/index.php(61): WebInstaller->execute(array)
#3 /var/www/localhost/htdocs/mediawiki-1.22.0/mw-config/index.php(29): wfInstallerMain()
#4 {main}


Version: 1.22.0
Severity: normal

Details

Reference
bz59999

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:42 AM
bzimport set Reference to bz59999.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for taking the time to report this!

This will be fixed in 1.22.1.

  • This bug has been marked as a duplicate of bug 58167 ***