Aikesheng Open Source Community
May 23, 2022 · Databases
Resolving MySQL “Server Has Gone Away” for a Read‑Only User: The Impact of init_connect and SUPER Privilege
The article explains why a newly created read‑only MySQL 5.7 user receives a “MySQL server has gone away” error, analyzes the role of the init_connect variable and SUPER privilege, and provides a step‑by‑step fix by correcting the init_connect setting.
Read-Only UserSUPER privilegeTroubleshooting
0 likes · 10 min read