Stop opening SQL connections all the time. Reuse one, catch signals.
Fix DB field.