@dfdf as the error suggests: You need to install the mysql connector. I believe this link will get you there:
According to the above documents to install psycopg2, error remains
after install ,error remains
Fun with python, you are going to need to resolve all dependencies. I am not familiar with the last error, but its definitely saying psycopg2 is not found..
In Cloudera Manager, please go to SQL Stream Builder > Configuration and check that the below property is set correctly:
If it's not set to the /usr/share/python3 directory, please set it to that, save and restart the service.
Follow the steps to install, lack _psycopg psycopg2 package. Py files
2:tar -xf 2_8_5.tar.gz
3:python setup.py build
python setup.py install4:cp psycopg2-2.8.5-py3.7-linux-x86_64.egg/psycopg2 /usr/share/python3