Solution for the MAMP \"#2006 - MySQL server has gone away\" error

/ Published in: Bash
Save to your folder(s)

Credit goes to [shyul]("shyul") and the original forum post here: [original_post]("original_post")
You need to modify the following file " ...\MAMP\bin\" with the code bellow

Copy this code and paste it in your HTML
  1. # /bin/sh
  2. /Applications/MAMP/Library/bin/mysqld_safe --port=3306 --max_allowed_packet=268435456 --socket=/Applications/MAMP/tmp/mysql/mysql.sock --lower_case_table_names=0 --pid-file=/Applications/MAMP/tmp/mysql/ --log-error=/Applications/MAMP/logs/mysql_error_log &

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.