Configure SAM and Schema Registry Metadata Stores in Postgres
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.
- Log in to Postgres:
sudo su postgres psql
- Create a database called registry with the password
create database registry; CREATE USER registry WITH PASSWORD 'registry'; GRANT ALL PRIVILEGES ON DATABASE "registry" to registry;
- Create a database called streamline with the password
create database streamline; CREATE USER streamline WITH PASSWORD 'streamline'; GRANT ALL PRIVILEGES ON DATABASE "streamline" to streamline;