Try mysql class improving (native exceptions and data types).