Skip to main content
jankit6
Staff
Staff
December 6, 2024

Troubleshooting Tip: How to fix No module name found error for MySql connector

Description This article describes how to fix dependency errors for MySQL connector in FortiSOAR.
Scope FortiSOAR.
Solution

Sometimes installing the MySql connector does not install its dependencies and starts showing an error 'No module Mysql'.

 

Screenshot_133.png

 

Check the MySQL module using the below command:

 

/opt/cyops-integrations/.env/bin/pip list | grep mysql-connector

 

If it does not return the MySQL-connector module in the result, install it using the below command:

 

sudo -u fsr-integrations /opt/cyops-integrations/.env/bin/pip install mysql-connector-python

 

Login to FortiSOAR GUI and check the connector status, it should work after that.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT