Quit from Teams (use Teams > Quit, don't just close the window).
In the Finder, open the /Applications/Utilities folder, and then double-click Terminal.
For Classic Teams, enter the following command, and then press Return: rm -r ~/Library/Application\ Support/Microsoft/Teams
For New Teams, enter the following command, and then press Return: rm -rf ~/Library/Group Containers/UBF8T346G9.com.microsoft.teams rm -rf ~/Library/Containers/com.microsoft.teams2
Restart Teams.
Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Log.inc.php on line 8
Warning: mysqli_connect(): Error while reading greeting packet. PID=24236 in /Library/WebServer/Documents/Owen2/Inc/Log.inc.php on line 8
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Log.inc.php on line 8
Could not connect to MySQL: MySQL server has gone away