背景:今天使用mysqlslap压测性能,并发数是100就开始报错,错误如图

运行的脚本:

mysqlslap -h172.xx.xx.xx  -P9030 -uxx  --concurrency=100 --iterations=1 --create-schema=bds --query=/home/zhangjun/test.sql --engine=innodb --number-of-queries=1 --debug-info

错误提示:

mysqlslap: Error when connecting to server: 1064 Reach limit of connections

 

 

 解决方案:

mysqlslap: Error when connecting to server: 1064 Reach limit of connections

 

 设置用户最大连接数,解决此问题

相关文章:

  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2021-12-01
  • 2021-09-05
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2021-12-22
  • 2021-05-06
  • 2021-11-18
相关资源
相似解决方案