mysql链接默认使用tcp遇到用户名或者密码有#号就不好使了。

database.go中DBConnStr 方法可否优化一下?

destConf := mysql.NewConfig()
	destConf.DBName = destDatabase
	destConf.User = destUserName
	destConf.Passwd = destPassword
	destConf.Net = "tcp"
	destConf.Addr = net.JoinHostPort(destHost, strconv.Itoa(destPort))
	destConf.ParseTime = true
	destConf.Loc = time.Local
	//destConf.Params = map[string]string{"charset": "utf8", "maxAllowedPacket": "0"}
	if connStr.DestParams != nil && len(connStr.DestParams) > 0 {
		destConf.Params = connStr.DestParams
	}
	var err error
	destDriver, err := mysql.NewConnector(destConf)
	if err != nil {
		log.Fatal("please check MySQL yml file", err)
	}
	//destDb, err = sql.Open("mysql", destConn)
	destDb = sql.OpenDB(destDriver)

可否改为mysql conf方式来链接呢?