mediatribe.net -- Drupal et développement web

Notice: this post was last updated Il y a 5 years 7 weeks 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/startMysql.sh 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 startMysql.sh file
- sudo chgrp admin /Applications/MAMP/bin/startMysql.sh
- 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.