Use pgsql rather than mysql
Switched to use postgis for backend rather