kiwanami / emacs-edbi

Database Interface for Emacs Lisp
350 stars 34 forks source link

add two tips #44

Closed ghost closed 6 years ago

ghost commented 7 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

kiwanami commented 6 years ago

Yeah. I usually use these tips. Thanks for your sharing.