没用过,但是MySql.Data.MySqlClient的连接串格式应该是这样的Data Source=localhost;User Id=xxxxxx;Password=xxxxxx;Database=xxxxxx