How can I specify that Doctrine must use a mysqli-connection
Posted
by murze
on Stack Overflow
See other posts from Stack Overflow
or by murze
Published on 2010-04-23T12:58:36Z
Indexed on
2010/04/23
13:03 UTC
Read the original article
Hit count: 291
Hi, while executing a long script that uses Doctrine to access the db, I get an error 2006 server has gone away.
I've already solved this problem on a website that doens't use Doctrine. The solution there was to use mysqli instead of the normal mysql driver.
How can i tell Doctrine to use a mysqli-driver in order to avoid 2006-errors?
Thanks!
© Stack Overflow or respective owner