数据库报错:commands out of sync. Did you run multiple statements at once?; driver: ba

337 阅读3分钟

数据库报错:commands out of sync. Did you run multiple statements at once?; driver: bad connect  ,可能的原因数据库连接数不够了  

数据驱动地址:对应的报错类型  before80.github.io/go\_docs/th…

	ErrPktSyncMul        = errors.New("commands out of sync. Did you run multiple statements at once?") // 命令不同步。你是不是一次运行了多个语句?

程序设置的最大连接数是300

数据库实际连接数是: