Moodle

Switch Moodle for Windows packages to use mysqli driver

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.4, 1.9
  • Fix Version/s: 2.0
  • Component/s: Installation
  • Labels:
    None
  • Database:
    Any
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Right now the old "mysql" driver is being used. Move to the newer "mysqli" one (it's 100% supported by xampp and will offer some speed benefits, for sure.

Ciao

Activity

Hide
Matt Gibson added a comment -

Hi Eloy,

does this involve any more than changing $CFG->dbtype = 'mysql'; to $CFG->dbtype = 'mysqli'; ?

I have tried it briefly, but noticed no real difference. slightly slower if anything

Show
Matt Gibson added a comment - Hi Eloy, does this involve any more than changing $CFG->dbtype = 'mysql'; to $CFG->dbtype = 'mysqli'; ? I have tried it briefly, but noticed no real difference. slightly slower if anything
Hide
Eloy Lafuente (stronk7) added a comment -

Done. Now Moodle 2.0 will be using native mysqli driver by default. At the same time I fixed some problems with pear libs and cleaned up a bit the database creation process. Resolving as fixed.

Show
Eloy Lafuente (stronk7) added a comment - Done. Now Moodle 2.0 will be using native mysqli driver by default. At the same time I fixed some problems with pear libs and cleaned up a bit the database creation process. Resolving as fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: