Skip to content

MyCat.Data.MyCatClient.MyCatException:“Unknown command” #1

@conanl5566

Description

@conanl5566

MyCat.Data.MyCatClient.MyCatException:“Unknown command”

循环执行的时候 为什么会这样
for (int i = 0; i < 1000; i++)

		{
			var conn = new MyCatConnection("server=localhost;port=8066;database=TESTDB;uid=root;pwd=123456;CharSet=utf8;pooling=true");
		 conn.Execute("INSERT INTO `test` (`name`) VALUES ( '" + System.DateTime.Now.ToString() + "')");
		}

结果只插入第一条马上报错

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions