[MacPorts] #44532: Confusion regarding Mysql server went away

MacPorts noreply at macports.org
Sun Aug 3 17:59:48 PDT 2014


#44532: Confusion regarding Mysql server went away
---------------------+--------------------------------
 Reporter:  jeff@…   |      Owner:  macports-tickets@…
     Type:  request  |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.3.1
 Keywords:  mysql    |       Port:  mysql5
---------------------+--------------------------------
 I have about a dozen site dev versions running on my macbook. I've been
 working on some custom code for one for a few months. I was tracing it in
 xdebug like usual tonight, and when I stopped it and went to hit the page
 again, I got the error PDOException: SQLSTATE[HY000]: General error: 2006
 MySQL server has gone away.

 I can connect to the db via mysql command line and Sequel Pro, and can hit
 the other sites. Everything I read about this error seems to point to the
 timeout and/or packet size settings in my.cnf. I don't know why they would
 all of a sudden be a problem, but I figured I'd try upping them, since
 restarting the service, and then rebooting when that didn't work,
 accomplished nothing.

 my.cnf seems to be in /opt/local/etc/mysql5, and pretty much has nothing
 in it...is that right? I thought I'd check on this first.

-- 
Ticket URL: <https://trac.macports.org/ticket/44532>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list