...
Each Carbon-based product uses a database to store information such as user management details and registry data. All nodes in the cluster must use one central database for config and governance registry mounts.
- Download and install MySQL server.
- Download the MySQL jdbc driver.
- Define the host name for configuring permissions for the new database by opening the
/etc/hosts
file and adding the following line:
<MYSQL-DB-SERVER-IP> carbondb.mysql-wso2.com
- Open a terminal/command window and log in to MySQL with the following command:
mysql -u username -p
- When prompted, specify the password, and then create the database with the following command:
mysql> create database carbondb;
- Grant permission to access the created database with the following command:
mysql> grant all on carbondb.* TO username@carbondb.mysql-wso2.com identified by "password";
- Unzip the downloaded MySQL driver zipped archive and copy the MySQL JDBC driver JAR (
mysql-connector-java-x.x.xx-bin.jar
) to the<ESB_HOME>/repository/component/lib
directory for each worker and manager node.
...