DB SHOWING INCORRECT VERSION AND WON’T ALLOW UPGRADE

DB SHOWING INCORRECT VERSION AND WON’T ALLOW UPGRADE

Okay so the problem is that my config.php file needed to be changed to reflect the change from MySQL to MariaDB.

In config.php I changed this:

$CFG->dbtype    = ‘mysql’;

To this:

$CFG->dbtype    = ‘mariadb’;

And this allowed upgrade to continue.

Another question though…

In this article: https://docs.moodle.org/26/en/MariaDB
it shows that the following line should also be added to config.php:

$CFG->dblibrary = ‘native’;

This is going way back to v2.6 so is this still necessary, and should I add it?

I am going to assume that YES I should!

 

點閱: 0

發表迴響

這個網站採用 Akismet 服務減少垃圾留言。進一步瞭解 Akismet 如何處理網站訪客的留言資料