Question

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 and sqlyog 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 (like using ssh -fNg -L) but non of them worked for me then some how I got a file '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.

Was it helpful?

Solution

http://blog.webyog.com/2012/10/31/think-beyond-phpmyadmin-to-access-mysql-on-a-shared-host/

This blog post explains how you can create something like SQLyogTunnel.php to access database in a shared hosting.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top