Fixed spelling error in Database.java

Changed error message "Error occured while trying to connect to the database" to "Error occurred while trying to connect to the database"