教义MySQL的findAll超时

时间:2019-06-25 11:21:05

标签: mysql symfony doctrine-orm doctrine

当我使用

时,我想从实体中选择所有行
  

findAll

方法进入存储库,我得到了

In AbstractMySQLDriver.php line 93:

  An exception occurred in driver: SQLSTATE[HY000] [2002] Operation timed out  


In PDOConnection.php line 31:

  SQLSTATE[HY000] [2002] Operation timed out  


In PDOConnection.php line 27:

  SQLSTATE[HY000] [2002] Operation timed out

与DQL相同,是否有解决方案可以使所有行都没有超时?

0 个答案:

没有答案