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

using charsets which is supported by mysql server 5.6