Corrected database connection, everything works! :D