hydrawiki/databaseaurora

AWS Aurora MySQL compatible database driver for MediaWiki.

v1.0.2 2019-12-20 16:57 UTC

This package is auto-updated.

Last update: 2024-11-21 03:54:46 UTC


README

Installation

Add this dependecy to your MediaWiki installation using Composer:

composer require hydrawiki/databaseaurora

A stock MediaWiki file will have to be edited to allow this driver to work.

Change in static function getClass() in includes/libs/rdbms/database/Database.php from:

'mysql' => [ 'mysqli' => DatabaseMysqli::class ],,

To:

'mysql' => [ 'mysqli' => DatabaseMysqli::class, 'aurora' => DatabaseAurora::class ],