MySql.Data.MySqlClient.MySqlException: Timeout expired

前端 未结 2 1651
傲寒
傲寒 2020-12-20 12:51

In recent times, a particular page in my web app throws the

Exception Details: MySql.Data.MySqlClient.MySqlException: Timeout expired. The timeo

2条回答
  •  执笔经年
    2020-12-20 13:12

    I encountered the same problem with yours, and I found this MySQLConnection--Specifying default command timeout.

    Just add "default command timeout=xxx" into your connectString, this key's value is in seconds.
    I tried and it worked for me.

提交回复
热议问题