About This Task

If you have already installed MySQL and configured SAM and Schema Registry metadata stores using MySQL, you do not need to configure additional metadata stores in Postgres.

Steps

  1. Log in to Postgres:

    1. sudo su postgres
    2. psql
  2. Create a database called registry with the password registry:

    1. create database registry;
    2. CREATE USER registry WITH PASSWORD 'registry';
    3. GRANT ALL PRIVILEGES ON DATABASE "registry" to registry;
  3. Create a database called streamline with the password streamline:

    1. create database streamline;
    2. CREATE USER streamline WITH PASSWORD 'streamline';
    3. GRANT ALL PRIVILEGES ON DATABASE "streamline" to streamline;