Installing mysql-shell Utility

Install the mysql-shell utility on the newly installed OCSM Server.

  1. Go inside the folder where MySQL RPMs are present (MySQL 8 Commercial Package was downloaded from the Oracle software delivery during 5.1 OCSM rpm installation):
    cd mysql-8.X/8.X.XX/
    For example:
    cd /root/mysql-8.0/8.0.32/
  2. Install the mysql shell rpm by running the following command:
    yum install mysql-shell-commercial-X.X.XX-X.X.XXX.x86_64.rpm

    For example:

    yum install mysql-shell-commercial-8.0.32-1.1.el8.x86_64.rpm
    

    Note:

    The mysql-shell rpm used here is based on MySQL 8.0.32.
  3. Copy the password from /root/.my.cnf and keep it handy.

    Figure 4-1 Copy Password


    Copy Password