diff --git a/doc/install-guide/section_sahara-install.xml b/doc/install-guide/section_sahara-install.xml index 70b017ceb3..2e7650e960 100644 --- a/doc/install-guide/section_sahara-install.xml +++ b/doc/install-guide/section_sahara-install.xml @@ -101,6 +101,28 @@ max_allowed_packet = 256M + + To create the database, complete these steps: + + + Use the database access client to connect to the database server as the root user: + $ mysql -u root -p + + + Create the sahara database: + CREATE DATABASE sahara; + + + Grant proper access to the sahara database: + GRANT ALL PRIVILEGES ON sahara.* TO 'sahara'@'localhost' \ IDENTIFIED BY ' SAHARA_DBPASS'; + GRANT ALL PRIVILEGES ON sahara.* TO 'sahara'@'%' \ IDENTIFIED BY 'SAHARA_DBPASS'; + Replace SAHARA_DBPASS with a suitable password. + + + Exit the database access client. + + + Create database schema: # sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head