Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Install Postgres for Mac OS X.

Install Postgres for Mac OS X

From MoodleDocs
Revision as of 03:11, 1 September 2010 by jerome mouneyrac (talk | contribs)
  1. install MAMP package in order to have a ready to use Apache web server.
  2. download the Mac OSX package one click installer
  3. run the installer, the installer tells you it changed a system file.
  4. restart your Mac
  5. run the installer a second time, Postgres get installed. Remember the password you indicates. If you don't change anything else, the default user should be called 'postgres'.
  6. run pgAdminIII
  7. click right on PostgreSQL X.X (there is a little red cross) and select Connect
  8. enter the same password as you enter during the installation.
  9. click right on 'Databases (0)' then create a new database called Moodle
  1. checkout Moodle from CVS, run the installation
  2. on the database setup, you will enter:
    • host: localhost
    • user: postgres
    • password: your_password
    • database: Moodle