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: Difference between revisions

From MoodleDocs
mNo edit summary
m (reformat sections)
Line 9: Line 9:




== a) Database activity module ==
== Database activity module ==


Moodle Docs
Moodle Docs
Line 18: Line 18:
* [[Import_and_export_FAQ#How_do_I_import_and_export_database_entries.3F| How do I import and export database entries?]]
* [[Import_and_export_FAQ#How_do_I_import_and_export_database_entries.3F| How do I import and export database entries?]]


== b) Moodle database ==
== Moodle database ==


Moodle Docs
===Moodle Docs links===
* [[:Category:DB]]
* [[:Category:DB]]
* [http://moodle.org/mod/forum/view.php?id=45 Databases forum]
* [http://moodle.org/mod/forum/view.php?id=45 Databases forum]
Line 28: Line 28:
* [[Create Moodle site database]]
* [[Create Moodle site database]]


Moodle Forums
===Moodle Forums links===
* [http://moodle.org/mod/forum/discuss.php?d=65072 "Moodle database design issues I'd like to tackle/see tackled"] in the Moodle forum (from 2007).
* [http://moodle.org/mod/forum/discuss.php?d=65072 "Moodle database design issues I'd like to tackle/see tackled"] in the Moodle forum (from 2007).
* [http://www.jchq.net/moodle2erd.mwb MySQL workbench file] for download (for using with [http://www.mysql.de/products/workbench/ MySQL Workbench]). - Related forum discussion: [http://moodle.org/mod/forum/discuss.php?d=108886 Referential integrity in Moodle]  
* [http://www.jchq.net/moodle2erd.mwb MySQL workbench file] for download (for using with [http://www.mysql.de/products/workbench/ MySQL Workbench]). - Related forum discussion: [http://moodle.org/mod/forum/discuss.php?d=108886 Referential integrity in Moodle]  


Miscellaneous
===Non Moodle.org links===
* [http://learn.open.ac.uk/mod/oublog/viewpost.php?post=5741 "Database abstraction layers and Moodle"] from [http://moodle.org/user/view.php?id=78896&course=5 Christopher Douce]'s blog (Open University)
* [http://learn.open.ac.uk/mod/oublog/viewpost.php?post=5741 "Database abstraction layers and Moodle"] from [http://moodle.org/user/view.php?id=78896&course=5 Christopher Douce]'s blog (Open University)



Revision as of 12:37, 10 August 2010

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: