mediatribe.net -- Drupal and Web Development

Notice: this post was last updated 5 years 3 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/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.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.