> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pausing and resuming a MySQL ClickPipe

> Pausing and resuming a MySQL ClickPipe

export const Image = ({img, alt, size = "lg"}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} />
      </Frame>
    </div>;
};

There are scenarios where it would be useful to pause a MySQL ClickPipe. For example, you may want to run some analytics on existing data in a static state. Or, you might be performing upgrades on MySQL. Here is how you can pause and resume a MySQL ClickPipe.

<h2 id="pause-clickpipe-steps">
  Steps to pause a MySQL ClickPipe
</h2>

1. In the Data Sources tab, click on the MySQL ClickPipe you wish to pause.
2. Head over to the **Settings** tab.
3. Click on the **Pause** button.

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/pause_button.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=abefa6025c219aef1e6e0d7f4fc0759f" border size="md" width="769" height="217" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_button.webp" />

4. A dialog box should appear for confirmation. Click on Pause again.

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=c2b0a65c74a4016e291677c99b4f1015" border size="md" width="768" height="288" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.webp" />

4. Head over to the **Metrics** tab.
5. In around 5 seconds (and also on page refresh), the status of the pipe should be **Paused**.

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/pause_status.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=6b2ef8315a6bce755d6033768baddafa" border size="md" width="1437" height="256" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_status.webp" />

<h2 id="resume-clickpipe-steps">
  Steps to resume a MySQL ClickPipe
</h2>

1. In the Data Sources tab, click on the MySQL ClickPipe you wish to resume. The status of the mirror should be **Paused** initially.
2. Head over to the **Settings** tab.
3. Click on the **Resume** button.

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/resume_button.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=25a82c38e9f1f4cf5c0ecd5619e644b2" border size="md" width="1258" height="202" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_button.webp" />

4. A dialog box should appear for confirmation. Click on Resume again.

<Image img="https://mintcdn.com/private-7c7dfe99/dZZG_-B0EzCG8L4V/images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.webp?fit=max&auto=format&n=dZZG_-B0EzCG8L4V&q=85&s=4e175fb184076c727c3a2d78ff554a14" border size="md" width="879" height="365" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.webp" />

5. Head over to the **Metrics** tab.
6. In around 5 seconds (and also on page refresh), the status of the pipe should be **Running**.
