I just updated a LAMP development machine from Ubuntu 11.04 to 12.04 When trying to run my php app I got the following error:
SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query
My app makes intensive use of stored procedures for dealing with database operations but it never thrown this error. After some research I realized that it happened when using the 5.5 version of MySQL. I also tested all failing procedures in mysql workbench and they work just fine.
Could this be a PDO problem? Did somebody got the same problem?
I worked this around using mysql sandbox, but I'd like to use mysql 5.5
My current versions are:
- PHP: 5.3.10
- Mysql: 5.5.24