Posted By

manolis on 05/30/12


Tagged

mysql Bash phpmyadmin MAMP


Versions (?)

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


 / Published in: Bash
 

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

  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/mysql.pid --log-error=/Applications/MAMP/logs/mysql_error_log &

Report this snippet  

You need to login to post a comment.