Since this is a pretty complicated database, I thought that it might help to exclude system tables, so I set that parameter in the DB() call to True. Then, when I ran that same call call successive times, it began to alternate between the above error and this followingerror (I never seemed to get the same one two times in a row, so it does appear to be strict alternation.)
275 setattr(self, attr, col)
276
--> 277 self._cur.execute(self._query_templates['system']['foreign_keys_for_table'].format(table=self.name))
278 for (column_name, foreign_table, foreign_column) in self._cur:
279 col = getattr(self, column_name)
DatabaseError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
I'm getting a strange set of errors when trying to establish a database connection. Initially, it gave me:
Since this is a pretty complicated database, I thought that it might help to exclude system tables, so I set that parameter in the DB() call to True. Then, when I ran that same call call successive times, it began to alternate between the above error and this followingerror (I never seemed to get the same one two times in a row, so it does appear to be strict alternation.)