As we know, mysql server will close idle connection exceed wait_timeout time, for the reason, my app based django always arise errors:
operationalerror (2006 'mysql server has gone away') django
I remember that we can config client connections with auto reconnect in the java:
jdbc.url=jdbc:mysql://localhost:3306/oa?useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8&autoReconnect=true
can anyone tell me how can i config the params in django ,thanks