Issue while simultaneously accessing mysql db using clsql on a hunchentoot server
Kushal Das <[email protected]> Wed, 3 Aug 2011 17:47:16 +0530
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <CAAzeMbw-DC0RYHvniNwiBuDUwnzejOM1PMQAP818b4Qvx2fwjw@mail.gmail.com> |
Hi,
I am writing a small webapp with mysql backend and hunchentoot as a framework.
using (connect `("host" "dbname" "username" "password")
:database-type :mysql) to connect , works well if only 1 person tries
to connect to the system. But with any simultaneous access , the db
connection dies. I am getting "Error 2006 / MySQL server has gone
away".
Can any one can point me to some example on how to solve this and have
simultaneous access?
Kushal
--
http://fedoraproject.org
http://kushaldas.in