OS X Yosemite MySQL 5.6 Intermittent Connectivity Issues
This fixed all the issues we were experiencing with OS X and MySQL 5.6. Database connections were getting lost intermittenly which would start and stop the MySQL server.
Add the following option to [mysqld] section of my.cnf (usually /etc/my.cnf) and then restart MySQL:Â
innodb_file_per_table = OFF.Â
Then for this to work you'll need to dump your databases into SQL file (mysqldump), then drop and re-create the databases, then load the data back.

















