Creating a Temporary Admin User in Keycloak
To create a temporary admin user, use the following command in the Keycloak bin directory:
bin/kc.sh bootstrap-admin user
This will prompt you to enter the required username and password interactively.
Alternatively, you can specify credentials directly:
bin/kc.sh bootstrap-admin user --username tmpadm --password:env PASS_VAR
- This creates an admin user with the username tmpadm.
- The password is retrieved from the environment variable PASS_VAR.
Install MySQL Workbench Manually
Since you are on Ubuntu 22.04 (Jammy), MySQL Workbench may not be available in the standard MySQL APT repository. Instead, you can install it manually using Snap.
Steps to Install:
- Open a terminal.
- Run the following command:
sudo snap install mysql-workbench-community - Wait for the installation to complete.
This will install MySQL Workbench from the Snap package manager.
Verification:
After installation, you can launch MySQL Workbench by running:
mysql-workbench-community
or by searching for MySQL Workbench in your application menu.
If you encounter any issues, ensure that Snap is installed on your system by running:
snap --version
Written by A.M. Rinas