Implemented read method to mysql datasource