Downloading and Installing the MySQL Connector

Download and install the MySQL Connector package.

  1. Download the MySQL Connector package corresponding to the MySQL version installed from MOS to a temporary directory on the Session Monitor Server:
    If MySQL 8.0.34 Commercial is installed on the system, download the MySQL Connector 8.0.33 Package from MOS:
    • patch no 35614084 for MySQL Commercial
      • Patch number: 35614084
      • File name: p35614084_580_Linux-x86-64.zip
    • MySQL Connector 8.0.33
      • Patch number: 35301971
      • File name: p35301971_800_Linux-x86-64.zip
  2. From the temporary directory, run the following commands to install MySQL Connector:
    yum install unzip
    
    unzip pXXXXXXXX_XXX_Linux-x86-64.zip
    pip3 install mysql_connector_python-8.X.X-1commercial-cp39-cp39-manylinux1_x86_64.whl
    For example:
    unzip p35301971_800_Linux-x86-64.zip
    pip3 install mysql_connector_python-8.0.33-1commercial-cp39-cp39-manylinux1_x86_64.whl
    

    Note:

    If necessary, use proxy with pip3. For example:
    pip3 install --proxy [PROTOCOL://]HOST[:PORT] mysql_connector_python-8.0.33-1commercial-cp39-cp39-manylinux1_x86_64.whl