Moodle icon indicating copy to clipboard operation
Moodle copied to clipboard

Enabling Maria DB

Open munir94 opened this issue 4 years ago • 3 comments

Whenever i connect a moodle server to AzureDatabase for MariaDB, the installation will be success but the page cannot be loaded due to DB connection failed.

[rgardler EDIT] See comment below. TL;DR MariaDB is not supported in the template, but maybe it should

munir94 avatar Jun 09 '20 06:06 munir94

sudo setsebool -P httpd_can_network_connect_db on

After the all the moodle installation done fix the issue

munir94 avatar Jul 05 '20 00:07 munir94

Thank you very much for following up on this issue. MariaDB is not supported by this template but perhaps it should be. It should be a reasonably drop in replacement and your pointer on how to fix the issue is very useful.

I'm going to change the title of this and make it a feature request for MariaDB. We will evaluate whether providing this as part of the template, but will happily accept PRs for the template.

SorraTheOrc avatar Jul 06 '20 21:07 SorraTheOrc

This is something we'll be taking a look at and will likely arrive after we adding Flexible Server support in the template. Flexible server is in public preview right now and not only is it more performant but offers Barracuda file-format support which most recent versions of Moodle require. Keeping it open for now.

UmakanthOS avatar Jul 10 '21 00:07 UmakanthOS