Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Database FAQ.

Database FAQ

From MoodleDocs
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Note: This article is a work in progress. Please use the page comments or an appropriate moodle.org forum for any recommendations/suggestions for improvement.


There are two types of "databases" in Moodle:

a) The Moodle activity named Database
b) The database on your server where Moodle stores all its content

Here is some additional information that may help guide you to more information to answer your FAQs


Database activity module

Moodle Docs

Moodle database

Moodle Docs links

DBDesigner 4 is a schema drawing program for MySQL data bases released under GPL.

Moodle Forums links

Non Moodle.org links


Moodle core libraries

Moodle's core libraries provide lots of functions for working with the database.

XMLDB

XMLDB stores the database definition in an XML format that can be used to install Moodle on any database.

Introduction to Moodle Programming course:

Different kinds of databases

New database layer in Moodle 2.0

See also: