Installation step 4 – Creating an empty database

Create a new, empty database for your installation. Refer to moodle.org for updated information, and as you do so, you will need to find and make a note of your database server hostname, username, and password for use during the final installation stage:

  • dbhost: This is the database server hostname. It is usually localhost if the database and web server are the same machine, or it can be the name of the database server.
  • dbname: This is the database name. It is usually moodle.
  • dbuser: This is the username for the database. Use what you assigned, which is usually moodleuser. Be sure not to use the root/superuser account. Create an account with the minimum permissions needed.
  • dbpass: This is ...

Get Moodle 3 E-Learning Course Development - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.