MySQLConnection DBConn = new MySQLConnection(new MySQLConnectionString("localhost", "sunz", "root", "lcd123456", 3306).AsString);
localhost:mysql安装的IP
sunz:我的数据库的名字
root:我的数据库登录用户名
lcd123456:我的数据库登录密码
3306是mysql的服务端口
每博名言:.net框架?C#? both them SHIT