not working database connections

my epic failure of sql