I have local MySql server and want Yii to connect to it over SSH. I have try to config config/main.php but failed. How can I do that?
You need to forward port 3306 from the remote server to your local machine and then set Yii to connect to the forwarded port on localhost.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With