• ygj64
    2024-08-19 来自江苏
    请问老师文章开头说的数据库连接闪断具体是什么现象

    作者回复: 连接闪断指的是在执行SQL语句的时候,会报类似下面的这些错误。具体的错误信息和使用的客户端驱动也有关系。 ERROR 2013 (HY000): Lost connection to MySQL server during query ERROR 4031 (HY000): The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior. CommunicationsException: The last packet successfully received from the server was 15,032 milliseconds ago. The last packet sent successfully to the server was 15,035 milliseconds ago. is longer than the server configured value of 'wait_timeout'. Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

    共 2 条评论
    
  • cheriston
    2024-08-19 来自菲律宾
    老师的干货多多,多多学习

    作者回复: 感谢支持。后续的内容更精彩:)

    
    
  • sun
    2024-08-19 来自浙江
    终于开课啦,学起来!

    作者回复: 一起学起来

    
    
  • 资深嵌入式点灯工程师
    2024-08-19 来自江苏
    开课了,期待老师后续的课程内容

    作者回复: 感谢支持:)

    
    