Add am MA plto routine that accesses data inthe MySQL database