Ported over connected database for P4, generated database.sql