Connect to MYSQL in OVH cloud, with python that consisted of SSH possibility

Hi OVH community,

I want to connect to our MySQL database on OVH by the python script and having ssh possibility, I did all solutions that I found on the internet by using SSHTunnelForwarder, but as far as I gave my private key, it does not work. Could you please guide me or put here an example code that is you did something like my purpose.


I really appreciate any help you can provide.