ec2-api/doc/source/install/database-creation.rst
tikitavi 41309f5922 update of Installation Guide
added sections Manual Installation and Installation on DevStack

Change-Id: I206ae2e5fdd13a4cac700189d388578777b589c6
2017-10-16 15:54:29 +03:00

657 B

  • Use the database access client to connect to the database server as the root user:

    $ mysql -u root -p
  • Create the ec2api database:

    CREATE DATABASE ec2api;
  • Grant proper access to the ec2api database:

    GRANT ALL PRIVILEGES ON ec2api.* TO 'ec2api'@'localhost' \
     IDENTIFIED BY 'EC2-API_DBPASS';
    GRANT ALL PRIVILEGES ON ec2api.* TO 'ec2api'@'%' \
     IDENTIFIED BY 'EC2-API_DBPASS';

    Replace EC2-API_DBPASS with a suitable password.

  • Exit the database access client.

    exit;