Realized I didn't add an error message so I have no clue if the database is working or not.