How to use SQLyogTunnel_ciom.php file

I am working with mysql credentials where I always get an error : access denied for root@user
I have ssh details so I used heidisql to connect to database, It worked.
Now I have to write code for this database using php.
mysqli_connect gives the same error.
I searched and tried many things but non of them worked for me then some how I got ‘SQLyogTunnel_ciom.php’
but I have no idea how to use it. I tried to include it and call its function but that is not working either.
Kindly suggest me how to work around in this situation.