Open Source Content Management System

Setting Up a Midgard Database

After the Midgard Framework is installed, run the Datagard command:

$ datagard

When you run datagard for the first time, and midgard-data can not connect to MySQL server, you will be asked about the MySQL administrator name and password.

By default datagard tries to connect to database with currently logged in username and with empty password. You should change MySQL's administrator password, if connection has been succesfully established without password . It's highly recommended for production servers

Select "install" from the datagard menu:

You will be asked about the database name which you would like to create:

Right after that you will be asked about the Midgard database username and password. This data is used to create a MySQL account and to connect websites with the MySQL server.

All midgard packages which are included in midgard-data will be imported to the database. (Depending on your hardware, it may take from a few minutes up to twenty minutes.)

If You need and want to create a virtual host, answer "yes". This is important. If you say "no", midgard-data won't update your database to be ready to use with the Apache server, and you will be forced to update your database manually.

Read Creating a New Virtual Host for instructions on creating the virtual host.

Designed by Nemein, hosted by Anykey