我要评分
获取效率
正确性
完整性
易理解

Installing MySQL Shell

MySQL Shell is an interactive JavaScript, Python, or SQL interface that supports MySQL server development and management. It is mandatory for installing and managing the MySQL InnoDB Cluster. MySQL Shell can be installed independently. The following describes how to install MySQL Shell in JavaScript mode.

  1. Download the RPM package.
    • CentOS
      1
      2
      cd /home
      wget https://downloads.mysql.com/archives/get/p/43/file/mysql-shell-8.0.20-1.el7.aarch64.rpm --no-check-certificate
      
    • openEuler
      1
      2
      cd /home
      wget https://downloads.mysql.com/archives/get/p/43/file/mysql-shell-8.0.20-1.el8.aarch64.rpm --no-check-certificate
      
  2. Install the RPM package.
    • CentOS
      1
      rpm -ivh mysql-shell-8.0.20-1.el7.aarch64.rpm
      
    • openEuler
      1
      2
      ln -s /usr/lib64/libpython3.7m.so.1.0 /usr/lib64/libpython3.6m.so.1.0
      rpm -ivh mysql-shell-8.0.20-1.el8.aarch64.rpm --nodeps --force
      
  3. Verify the installation.
    1
    mysqlsh --help