Steps

  1. Launch the MySQL monitor:

    1. mysql -u root -p
  2. Create the database for Schema Registry and SAM metastore:

    1. create database registry;
    2. create database streamline;
  3. Create Schema Registry and SAM user accounts, replacing the final IDENTIFIED BY string with your password:

    1. CREATE USER 'registry'@'%' IDENTIFIED BY 'R12$%34qw';
    2. CREATE USER 'streamline'@'%' IDENTIFIED BY 'R12$%34qw';
  4. Assign privileges to the user account:

    1. GRANT ALL PRIVILEGES ON registry.* TO 'registry'@'%' WITH GRANT OPTION ;
    2. GRANT ALL PRIVILEGES ON streamline.* TO 'streamline'@'%' WITH GRANT OPTION ;
  5. Commit the operation:

    1. commit;