InMotion Hosting Support Center

Moodle users may get an error while attempting to upgrade. This may be due to Moodle looking for MariaDB while MySQL is installed. This is more common on shared server accounts as Dedicated / VPS hosting users can upgrade to MariaDB anytime. Below we'll configure Moodle for MariaDB.

Looking for cheaper but full-featured website hosting? Check out our VPS Hosting after fixing your Moodle error.

Specify MariaDB

  1. Log into your server via cPanel File Manager, FTP, or SSH.
  2. Navigate to your Moodle directory.
  3. Edit the Moodle config.php file.
  4. Change the following two lines:

    $CFG->dbtype = 'mariadb';
    $CFG->dblibrary = 'native';

  5. Save your changes.

Learn more about this process from Moodle documentation. Learn more about Moodle with our Support Center.

Was this article helpful?
Continued Education in Course Moodle
You are viewing Section 1: Update Moodle 3.6 to Use MariaDB
Section 2: 301: Fixing common errors when installing Moodle

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!