mysql adapter: use pool_name for pid