# Can’t create mysql dump DK0029

**URL:** https://community.kinsta.com/t/can-t-create-mysql-dump-dk0029/2037
**Category:** Bug Reports
**Created:** [January 28, 2023, 10:43pm UTC](https://community.kinsta.com/t/can-t-create-mysql-dump-dk0029/2037 "2023-01-28T22:43:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Doriane](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@Doriane](https://community.kinsta.com/u/Doriane)
#### Post date: [January 28, 2023, 10:43pm UTC](https://community.kinsta.com/t/can-t-create-mysql-dump-dk0029/2037/1 "2023-01-28T22:43:07Z")

</div>

Hi,

I just install docker and Kinsta on Windows 10,  
I tried to import a website from KInsta but got DK0029 with those logs :

```auto
2023/01/28 22:29:02 [error] 80#80: *272 FastCGI sent in stderr: "PHP message: Xdebug: [Log Files] File '/var/log/fpm/xdebug.log' could not be opened.PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9000 (through xdebug.client_host/xdebug.client_port) :-(" while reading response header from upstream, client: 172.172.0.3, server: marcia-test-1.local, request: "POST /wp-cron.php?doing_wp_cron=1674944942.7635939121246337890625 HTTP/1.1", upstream: "fastcgi://172.172.0.3:9003", host: "marcia-test-1.local", referrer: "http://marcia-test-1.local/wp-cron.php?doing_wp_cron=1674944942.7635939121246337890625"
2023/01/28 22:29:05 [error] 80#80: *276 FastCGI sent in stderr: "PHP message: Xdebug: [Log Files] File '/var/log/fpm/xdebug.log' could not be opened.PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9000 (through xdebug.client_host/xdebug.client_port) :-(" while reading response header from upstream, client: 172.172.0.3, server: marcia-test-1.local, request: "GET / HTTP/1.1", upstream: "fastcgi://172.172.0.3:9003", host: "marcia-test-1.local", referrer: "https://marcia-test-1.local/"
2023/01/28 22:29:05 [error] 80#80: *276 FastCGI sent in stderr: "PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9000 (through xdebug.client_host/xdebug.client_port) :-(PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9000 (through xdebug.client_host/xdebug.client_port) :-(" while reading upstream, client: 172.172.0.3, server: marcia-test-1.local, request: "GET / HTTP/1.1", upstream: "fastcgi://172.172.0.3:9003", host: "marcia-test-1.local", referrer: "https://marcia-test-1.local/"

```

Can you help me please ?

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [January 30, 2023, 5:56am UTC](https://community.kinsta.com/t/can-t-create-mysql-dump-dk0029/2037/2 "2023-01-30T05:56:38Z")

</div>

Hello @Doriane 👋 Welcome to DevKinsta community!

The [DK0029](https://kinsta.com/knowledgebase/devkinsta/error-codes/#dk0029) error (during the site pull/import site from MyKinsta) usually means DevKinsta is unable to create a MySQL dump on the remote server.

So that we can check and review this case further, could you please send (DM) me the main.log file of your DevKinsta application? You can [check here](https://kinsta.com/knowledgebase/devkinsta/error-codes/#viewing-the-application-log-file) to see how to see/get that main.log file.

Cheers,  
Agus

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [January 31, 2023, 2:31am UTC](https://community.kinsta.com/t/can-t-create-mysql-dump-dk0029/2037/4 "2023-01-31T02:31:50Z")

</div>

Hello again Doriane 🙂

I’ve checked the `main.log` file you sent (DM) me and noticed these for example (saw these error DK0029 have been recorded there for several times).

```auto
[2023-01-28 23:29:41.442] [warn] [dumpSiteDatabase] Some warnings from mysql: {mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' when dumping table `your_wp_xxxxxxx_options` at row: 904 
[2023-01-28 23:29:41.443] [error] Error - DK0029: MYSQL_DUMP_COMMON: Error (3): {mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' when dumping table `your_wp_xxxxxxx_options` at row: 904

```

(Note: I changed that `your_wp_xxxxxxx_options` table name on purpose here, for security reason, but you can also check the main.log with your text editor on your computer and seach for the `DK0029: MYSQL_DUMP_COMMON` keyword for example. ).

So the issue here indeed due to DevKinsta was unable to create a MySQL dump on the remote server, as shown in that error ( `mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' when dumping table` ).

For this case, please kindly reach out to our support ( via chat from [my.kinsta.com](http://my.kinsta.com/)) and ask them to **temporarily** increase the " `max_allowed_packet` " value (let’s say to 64M) for the `[mysqldump]` section of your site in question (hosted on our Kinsta server).

Then once updated, you may want to give it a try to pull / import the site in question to your DevKinsta (to your local computer), and see if it’s no longer throwing DK0029 error message.

Cheers,  
Agus

---

<div class="post-metadata">

### Author: ![Doriane](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@Doriane](https://community.kinsta.com/u/Doriane)
#### Post date: [January 31, 2023, 10:58am UTC](https://community.kinsta.com/t/can-t-create-mysql-dump-dk0029/2037/5 "2023-01-31T10:58:36Z")

</div>

> [@Agus](#):
>
> dump

Hi Agus,  
I will ask them,

Many thanks  
Doriane

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [February 1, 2023, 7:04am UTC](https://community.kinsta.com/t/can-t-create-mysql-dump-dk0029/2037/6 "2023-02-01T07:04:04Z")

</div>

Alright!

You’re most welcome Doriane 😃

Cheers,  
Agus
