# DevKinsta Multisite subdirectory error DK0066 importing from live site

**URL:** https://community.kinsta.com/t/devkinsta-multisite-subdirectory-error-dk0066-importing-from-live-site/3594
**Category:** Bug Reports
**Created:** [June 14, 2024, 9:41am UTC](https://community.kinsta.com/t/devkinsta-multisite-subdirectory-error-dk0066-importing-from-live-site/3594 "2024-06-14T09:41:44Z")
**Posts on this page:** 5
**Page:** 2

<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: [June 29, 2024, 2:03am UTC](https://community.kinsta.com/t/devkinsta-multisite-subdirectory-error-dk0066-importing-from-live-site/3594/25 "2024-06-29T02:03:32Z")

</div>

Hi Marco! Thank you for your reply!

While there are many reasons a database connection error can occur, I do want to rule out the most common issue first. To confirm, if you compare the wp-config.php configuration file from a freshly created site to your imported site do the username, password, and host values for the database match?

We’re looking forward to hearing back from you!

Best regards

---

<div class="post-metadata">

### Author: ![MarcoS](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/marcos/32/3591_2.png) [@MarcoS](https://community.kinsta.com/u/MarcoS)
#### Post date: [July 2, 2024, 4:00pm UTC](https://community.kinsta.com/t/devkinsta-multisite-subdirectory-error-dk0066-importing-from-live-site/3594/26 "2024-07-02T16:00:52Z")

</div>

Hi Andrew,  
I’ve made some checks about wp-config.php, but seems database error connection doesn’t depends on it.  
In DevKinsta all data changes:

- DB\_NAME from weyourconsult to WeYourConsult
- DB\_USER from weyourconsult to root
- DB\_PASSWORD from A to B
- DB\_HOST from localhost to devkinsta\_db

I closed DevKinsta Desktop and from terminal I runned:

```auto
docker container rm devkinsta_db
docker volume rm devkinsta_db_data

```

Than I reopened DevKinsta.

If I tried to open the new TestSite (previously created) and I received ERROR DATABASE CONNECTION.  
I deleted this site and recreate.  
Now works.

Than I deleted site imported from Kinsta Staging and recreated.  
When I tried to open I received privacy error. NET::ERR\_CERT\_INVALID  
In DevKisnta I disabled HTTPS connection.

Than, now I’m able to open site and admin page!  
… even if I had to disable a plugin, maybe in conflict.

Only thing I have to check is speed.  
Seems DevKista Desktop is slowest than online Kinsta (I have Win 11 Pro and 16Mb Ram).

Thanks, Marco.

---

<div class="post-metadata">

### Author: ![VladimirM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/vladimirm/32/2786_2.png) [@VladimirM](https://community.kinsta.com/u/VladimirM)
#### Post date: [July 4, 2024, 10:55am UTC](https://community.kinsta.com/t/devkinsta-multisite-subdirectory-error-dk0066-importing-from-live-site/3594/27 "2024-07-04T10:55:04Z")

</div>

Hello Marco,

I’m glad to hear that it worked out. I’m not sure about the SSL issue, there might have been an error in generating the SSL, but I guess it’s good that you can access the site without enabling force HTTPS.

As for the speed, there have been different threads in regards to this. 16GB of RAM should be enough but did you check to see how much of it is assigned to Docker? The default is usually 2GB, you can try slightly increasing it.

---

<div class="post-metadata">

### Author: ![MarcoS](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/marcos/32/3591_2.png) [@MarcoS](https://community.kinsta.com/u/MarcoS)
#### Post date: [July 4, 2024, 1:13pm UTC](https://community.kinsta.com/t/devkinsta-multisite-subdirectory-error-dk0066-importing-from-live-site/3594/28 "2024-07-04T13:13:37Z")

</div>

Many thanks Vladimir,

how may I increase ram in docker.

I’m using the WSL 2 backend, so resource limits are managed by Windows (11 pro).

There’s a guide to do that? Thanks,

Marco

---

<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: [July 5, 2024, 2:02am UTC](https://community.kinsta.com/t/devkinsta-multisite-subdirectory-error-dk0066-importing-from-live-site/3594/29 "2024-07-05T02:02:50Z")

</div>

Hi @MarcoS! Thank you for your reply!

It does look like it’s possible to adjust the memory allowance in WSL via the .wslconfig file. I would recommend reviewing the article in the link below for more details about how to adjust this configuration file:

> <https://stackoverflow.com/questions/62405765/memory-allocation-to-docker-containers-after-moving-to-wsl-2-in-windows>

If you do have any questions about how to adjust these settings please don’t hesitate to reply! We’re happy to help!

Best regards

[Previous page](https://community.kinsta.com/t/devkinsta-multisite-subdirectory-error-dk0066-importing-from-live-site/3594.md?page=1)
