implement connection mysql server with charset (default charset is utf8)