fix imports for mysql and postgresql