Re: Mysql connections after started django app

2014-07-04 Thread cercatrova2
On 04/07/14 16:11, Zemian Deng wrote: @cercatrova2, Yes, my original problem also was (and still is) with "MySQL Connection not available" after the 8 hours timeout inactivity on

django not reconnecting to database after mysql server restart

2014-06-25 Thread cercatrova2
Dear django'ers: Configuration: django 1.6.5, mysql connector/python 1.2.2, mysql server 5.5.37, apache worker 2.2.22 with mod_fastcgi, and python 3.3.5 on an otherwise stock and up-to-date ubuntu 12.04 setup. Problem: django is not reconnecting to the

Re: [ANNOUNCE] Django 1.7 release candidate 1

2014-06-27 Thread cercatrova2
On 27/06/14 03:43, James Bennett wrote: We're closing in on the final Django 1.7 release, so it's release-candidate time! Details are up on the Django project blog: https://www.djangoproject.com/weblog/2014/j

Re: [ANNOUNCE] Django 1.7 release candidate 1

2014-06-27 Thread cercatrova2
On 27/06/14 11:16, James Bennett wrote: On Fri, Jun 27, 2014 at 3:12 AM, cercatrova2 <cercatro...@gmail.com> wrote: "FastCGI support via the runfcgi management command will

Re: "ResourceWarning: unclosed" error using mysql-connector-python

2014-07-03 Thread cercatrova2
On 04/07/14 05:09, Zemian Deng wrote: Hum... I am surprised that no one has experienced this warning msg yet, or maybe I can't catch anyone to reply. For those are curious, I do now see mysql-connector-python 1.2.2 is availabl

Re: Mysql connections after started django app

2014-07-03 Thread cercatrova2
On 04/07/14 05:04, Zemian Deng wrote: Hi, In my django settings.py I have set CONN_MAX_AGE=0 to use with MySQL DB, which I understood as closing conn after each request. However when I start a simple "mysite" tutorial with