This is my SQL query in Doctrine:
->andwhere("f.yearEvents LIKE :yearEvents")
->setParameter("yearEvents", $param)
When param has more than 10 signs, I get this error:
General error: 2008 MySQL client ran out of memory
When param has less than 10 signs everything works just fine!
Anyone have an idea? I can't figure out where the problem is. My DB is small.