Cohort external database

Admin tools ::: tool_cohortdatabase
Maintained by Dan Marsden, Catalyst IT
This plugin creates site-level cohorts using a connection to an external database. (similar to enrol_database plugin but instead of creating enrolments it creates site-level cohorts.)
Latest release:
114 sites
20 fans
Current versions available: 2

This plugin creates site-level cohorts using a connection to an external database. 

  • Can be triggered via CLI and/or scheduled task.
  • Creates site-level cohorts
  • Syncronises users in cohorts
  • Optionally auto create users


Screenshot #0


Dan Marsden (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Mon, Dec 18, 2017, 5:50 AM
    Approval issue created: CONTRIB-7142
  • Patrick Viney au MoodleMoot de Nîmes
    Thu, Apr 18, 2019, 10:36 PM
    Thanks a lot. It works great in Moodle 3.5. Very usefull. Hope it will work as well in Moodle 3.6 and 3.7
  • Thu, Sep 19, 2019, 3:33 PM
    I've installed on 3.7.2 and working..
    But is there any plugin that create Categories also as well as cohorts?? Should be perfect smile
  • Wed, Jun 10, 2020, 12:37 AM
    I'm curious this might be the answer to my yearning. Hosting cohorts in external database should mean that should mean that each externalised cohorts can be separate without users of each cohorts knowing they exist on the Moodle insurance, right?
  • Ricardo Caiado
    Tue, Mar 2, 2021, 8:40 AM
    Is this plugin still supported?
  • Tue, Mar 2, 2021, 8:49 AM
    works fine for us in 3.9 - as we don't use the plugins database ourselves for managing plugins, we do not regularly update the plugins db with the latest version of all our plugins due to the administrative overhead the latest versions of all our plugins are always in github.
    Hopefully when MDLSITE-4781 is resolved it will allow us to automate this.
Please login to post comments