# DK0029: MYSQL\_DUMP\_COMMON: Error (255): @kex\_exchange\_identification: Connection closed by remote host

**URL:** https://community.kinsta.com/t/dk0029-mysql-dump-common-error-255-kex-exchange-identification-connection-closed-by-remote-host/5092
**Category:** Application Support
**Created:** [May 22, 2025, 11:52pm UTC](https://community.kinsta.com/t/dk0029-mysql-dump-common-error-255-kex-exchange-identification-connection-closed-by-remote-host/5092 "2025-05-22T23:52:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![RaffySantayana](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@RaffySantayana](https://community.kinsta.com/u/RaffySantayana)
#### Post date: [May 22, 2025, 11:52pm UTC](https://community.kinsta.com/t/dk0029-mysql-dump-common-error-255-kex-exchange-identification-connection-closed-by-remote-host/5092/1 "2025-05-22T23:52:08Z")

</div>

I am attempting to import an existing WordPress staging site and am encountering this error after DevKinsta successfully created the MySQL database.

main.log output:

```auto
[2025-05-22 19:27:17.073] [info] [dockerUtil/getContainer] Get 'devkinsta_fpm' Docker container
[2025-05-22 19:27:36.411] [info] [containerExec] Command 'ssh asdf@35.245.139.135 -p 45087 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -o "ChallengeResponseAuthentication no" 'mysqldump -h localhost -u asdf -p ****** asdf > "/www/asdf_201/public/backup.sql"'' on devkinsta_fpm finished with exit code 255
[2025-05-22 19:27:36.417] [warn] [dumpSiteDatabase] Some warnings from mysql: @kex_exchange_identification: Connection closed by remote host 
[2025-05-22 19:27:36.419] [error] Error - DK0029: MYSQL_DUMP_COMMON: Error (255): @kex_exchange_identification: Connection closed by remote host
    at C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:889258
    at tryCatch (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1832189)
    at Generator.<anonymous> (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1833838)
    at Generator.next (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1832738)
    at asyncGeneratorStep (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1824034)
    at _next (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1824333)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[2025-05-22 19:27:36.422] [error] [ipcMainStep] Error in operation SITE_CREATION, step rsync: Error - DK0029: MYSQL_DUMP_COMMON: Error (255): @kex_exchange_identification: Connection closed by remote host
    at C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:889258
    at tryCatch (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1832189)
    at Generator.<anonymous> (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1833838)
    at Generator.next (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1832738)
    at asyncGeneratorStep (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1824034)
    at _next (C:\Users\<my_user>\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:1824333)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[2025-05-22 19:27:36.523] [info] [ProgressIndicator] { isFailed: true, isOpen: true }

```

Info:  
PHP Version = 8.2  
Site type = WordPress 6.8.1  
WebServer = NGINX  
Database = MariaDB  
WP Multisite = no

I have clicked “Retry” as suggested by [this](https://kinsta.com/docs/devkinsta/devkinsta-troubleshooting/error-codes/#dk0029) document. About 3 retry attempts were made in a 15 minute interval and all attempts had the same result as the initial failure.

I would appreciate any help into resolving this error. Please let me know if more information is needed to look into this.

---

<div class="post-metadata">

### Author: ![Andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew/32/2792_2.png) [@Andrew](https://community.kinsta.com/u/Andrew)
#### Post date: [May 23, 2025, 12:22am UTC](https://community.kinsta.com/t/dk0029-mysql-dump-common-error-255-kex-exchange-identification-connection-closed-by-remote-host/5092/2 "2025-05-23T00:22:59Z")

</div>

Hi @RaffySantayana! Welcome to the Kinsta community forums! We appreciate you reaching out to us!

I’m sorry to see that you are experiencing this error when you attempt to import your staging site into DevKinsta. I understand the importance of resolving this as soon as possible.

I would like to ensure that no environment level issue is occurring on the MyKinsta staging site. Would it be possible to please private message me the name and domain of your staging site? You may also provide me the directly MyKinsta link to the environment as well. This will allow us to check and ensure no issues are occurring on the staging site that is preventing the SSH connection from completing successfully as required for the rsync process to complete.

We look forward to hearing from you!

Best regards
