-- Drupal and Web Development

Notice: this post was last updated 5 years 7 weeks ago so it might be outdated. Please be cautious before implementing any of suggestions herein.

mysql server gone away, Drupal 6 and MAMP

In my experience, the problem is always too many cck fields.

Here's how to fix this:

(1) open /Applications/MAMP/bin/ with your favorite text editor
(2) put "--max_allowed_packet=16M " before the trailing &
(3) restart MAMP

Troubleshooting. If your mysql server won't start try this:

- make sure there are no newlines in your file
- sudo chgrp admin /Applications/MAMP/bin/
- open Activity Monitor and force quit all your mysqld processes

This has happened a few times

This has happened a few times in the past couple of days. After trying every other solution I could find, I finally came upon yours. And what do ya know, it worked! Thanks a lot.