php Adapter for accessing a mysql db