Re: pymysql.err.InterfaceError after some hours of usage

2019-10-02 Thread Νίκος Βέργος
Τη Τετάρτη, 2 Οκτωβρίου 2019 - 7:11:52 μ.μ. UTC+3, ο χρήστης Inada Naoki έγραψε: > 2019年10月3日(木) 0:56 Νίκος Βέργος : > > > Τη Τετάρτη, 2 Οκτωβρίου 2019 - 8:26:38 π.μ. UTC+3, ο χρήστης Inada Naoki > > έγραψε: > > > MySQL connection can be closed automatically by various reasons. > > > For example,

Re: pymysql.err.InterfaceError after some hours of usage

2019-10-02 Thread Inada Naoki
2019年10月3日(木) 0:56 Νίκος Βέργος : > Τη Τετάρτη, 2 Οκτωβρίου 2019 - 8:26:38 π.μ. UTC+3, ο χρήστης Inada Naoki > έγραψε: > > MySQL connection can be closed automatically by various reasons. > > For example, `wait_timeout` is the most common but not only reason for > > closing the connection. > > > >

Re: pymysql.err.InterfaceError after some hours of usage

2019-10-02 Thread Νίκος Βέργος
Τη Τετάρτη, 2 Οκτωβρίου 2019 - 8:26:38 π.μ. UTC+3, ο χρήστης Inada Naoki έγραψε: > MySQL connection can be closed automatically by various reasons. > For example, `wait_timeout` is the most common but not only reason for > closing the connection. > > You should connect and close MySQL connection f

Re: pymysql.err.InterfaceError after some hours of usage

2019-10-01 Thread Inada Naoki
MySQL connection can be closed automatically by various reasons. For example, `wait_timeout` is the most common but not only reason for closing the connection. You should connect and close MySQL connection for each HTTP request. Or you can use more smart connection pool (e.g. Engine in SQLAlchemy

pymysql.err.InterfaceError after some hours of usage

2019-10-01 Thread Νίκος Βέργος
Hello, i use 'module pymysql' for connectivity in my wsgi scripts. For some reason after some hours of i.e. 'http://superhost.gr/files' i get the following error when the script tries to run: Do you know why this is happening?! Error: 500 Internal Server Error Sorry, the requested URL 'http://s