Closed ghost closed 6 years ago
1、connect to a database contains chinese
uri: dbi:mysql:dbname=db:mysql_enable_utf8=1
2、connect to a remote database with the ssh tunnel first, open a tunnel
ssh -fNL 3306:localhost:3306 myname@myhost
then, connect to the local port like tip 1
Yeah. I usually use these tips. Thanks for your sharing.
1、connect to a database contains chinese
2、connect to a remote database with the ssh tunnel first, open a tunnel
then, connect to the local port like tip 1