[mythtv-users] Recordings not working

Paul Harrison mythtv at mythqml.net
Sun May 23 17:50:56 UTC 2021


On 23/05/2021 18:13, Jan Ceuleers wrote:

> ---begin quote---
> Previously, if a client did not use the connection to the server within
> the period specified by the wait_timeout system variable and the server
> closed the connection, the client received no notification of the
> reason. Typically, the client would see Lost connection to MySQL server
> during query (CR_SERVER_LOST) or MySQL server has gone away
> (CR_SERVER_GONE_ERROR).
>
> In such cases, the server now writes the reason to the connection before
> closing it, and client receives a more informative error message, The
> client was disconnected by the server because of inactivity. See
> wait_timeout and interactive_timeout for configuring this behavior.
> (ER_CLIENT_INTERACTION_TIMEOUT).
>
> The previous behavior still applies for client connections to older
> servers and connections to the server by older clients.
> ---end quote---
>
> [1]: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-24.html
>

We do handle the case if we get CR_SERVER_GONE_ERROR (2006) but not the 
case of CR_SERVER_LOST (2013) so like Gary said earlier maybe we just 
need to handle that case here :-

https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythbase/mythdbcon.cpp#L645


Paul H.




More information about the mythtv-users mailing list