Bug #110382 SQLSTATE[HY000] [2006] MySQL server has gone away
Submitted: 15 Mar 2023 18:35 Modified: 27 Mar 2023 13:40
Reporter: Armand Chabot Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Websites: bugs.mysql.com Severity:S3 (Non-critical)
Version:8.0.32 OS:Ubuntu (mysql server has gone away)
Assigned to: CPU Architecture:Any

[15 Mar 2023 18:35] Armand Chabot
Description:
SQLSTATE[HY000] [2006] MySQL server has gone away. got this error today and seems to have auto recovered. 

we did update the engine a couple days ago from 8.0.26 to this version. do you know why we got this error?

How to repeat:
dont know

Suggested fix:
asking you
[16 Mar 2023 6:11] MySQL Verification Team
Hi,

You set category to "MySQL Websites: bugs.mysql.com" so I am not sure if you are asking question about your setup or issue with bugs.mysql.com website. Our website is running fine so I assume you just set a wrong category.

If you are asking about your system please
 - write details about your system
 - upload your mysqld log file and config files
 - explain what actually happened, how did your server "gone away"

The error you seen "MySQL server has gone away" shows that your client lost connection to your mysql server. This can happen due to different reasons
 - your client network connection was broken/reset/changed/interrupted...
 - your servers network connection was broken/reset/changed/interrupted...
 - your server disconnected your client for some reason (too long connection for e.g.)
 - your server crashed (and auto rebooted as the error "self solved")
 - something else

Without logs we cannot guess what it is and only if this was because your server crashed this is a bug, in all other cases it would be normal behavior.
[16 Mar 2023 13:15] MySQL Verification Team
Hi Mr. Chabot,

Can you also please send us a stacktrace when your MySQL server crashes ?????

Thanks in advance ......
[27 Mar 2023 11:50] Armand Chabot
its only when i use your tool mysqldump or mydumper. it was working fine until i updated the version to 8.0.32. this is on an AWS RDS server.
[27 Mar 2023 13:40] MySQL Verification Team
Hi Mr. Chabot,

This is a forum for the bugs with repeatable test cases.

A test case must be complete, so that we can be able to repeat it. A test case should consist of the set of SQL statements that always lead to the above SQLSTATE.

Since you have not supplied us with a test for the entire two weeks, we are setting this bug to the status of "Can't repeat".