# Can’t select database after Docker upgrade

**URL:** https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773
**Category:** Bug Reports
**Created:** [June 15, 2021, 11:57am UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773 "2021-06-15T11:57:05Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Joona\_Penttila](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/joona_penttila/32/426_2.png) [@Joona\_Penttila](https://community.kinsta.com/u/Joona_Penttila)
#### Post date: [June 15, 2021, 11:57am UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/1 "2021-06-15T11:57:06Z")

</div>

**Q: Date/Time this occurred (Provide your time zone also)**  
\*\*A: 2:30pm GMT +3

**Q: DevKinsta Version**  
\*\*A: 1.1.7 (1.1.7.1645)

**Q: OS Version**  
\*\*A: MacOS BigSur 11.4

**Q: Docker Desktop Version**  
\*\*A: 3.4.0

**Q: Were any error codes or messages observed? If so, what were they?**  
\*\*A: After upgraded newest Docker versio, can’t find database anymore

**Q: Detailed Description of the Problem**  
\*\*A: Can’t select database warning

---

<div class="post-metadata">

### Author: ![Joona\_Penttila](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/joona_penttila/32/426_2.png) [@Joona\_Penttila](https://community.kinsta.com/u/Joona_Penttila)
#### Post date: [June 15, 2021, 12:03pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/2 "2021-06-15T12:03:36Z")

</div>

![Näyttökuva 2021-6-15 kello 15.02.22](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/59ba035d17cf10070041284cea9ce8a72cc23d0a.png)  
When going to database manager

---

<div class="post-metadata">

### Author: ![onebigidea](https://avatars.discourse-cdn.com/v4/letter/o/df705f/32.png) [@onebigidea](https://community.kinsta.com/u/onebigidea)
#### Post date: [June 15, 2021, 1:55pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/3 "2021-06-15T13:55:20Z")

</div>

Yep - this AM - I started DevKinsta - noticed it was updating Containers - then threw a 009 error - I hit “Retry” and then the app opened with all my sites and 0/none of the corresponding databases.

This wouldn’t be so painful if I could create a database with deleting a site and recreating it.

How about backing up the db container somewhere safe when shutting down the app?

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [June 15, 2021, 4:23pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/4 "2021-06-15T16:23:19Z")

</div>

@Joona_Penttila [MacOS Docker for Desktop was released on 2021-06-09](https://docs.docker.com/docker-for-mac/release-notes/). What version did you have prior to this? I’m sorry for the trouble here. Could you try re-installing DevKinsta and let me know if that fixes it for you?

@onebigidea 🤔 That’s odd. It may be best to delete those containers and have DevKinsta recreate them.

---

<div class="post-metadata">

### Author: ![onebigidea](https://avatars.discourse-cdn.com/v4/letter/o/df705f/32.png) [@onebigidea](https://community.kinsta.com/u/onebigidea)
#### Post date: [June 15, 2021, 4:53pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/5 "2021-06-15T16:53:53Z")

</div>

I have already “restarted” my setup but kind of annoying to lose the db container completely. If I could have used Adminer to add the databases the rebuild effort would have been significantly smaller.

---

<div class="post-metadata">

### Author: ![Joona\_Penttila](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/joona_penttila/32/426_2.png) [@Joona\_Penttila](https://community.kinsta.com/u/Joona_Penttila)
#### Post date: [June 16, 2021, 7:49am UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/6 "2021-06-16T07:49:34Z")

</div>

Hi, I also recreated those containers but still same issue.

---

<div class="post-metadata">

### Author: ![Joona\_Penttila](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/joona_penttila/32/426_2.png) [@Joona\_Penttila](https://community.kinsta.com/u/Joona_Penttila)
#### Post date: [June 16, 2021, 8:25am UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/7 "2021-06-16T08:25:04Z")

</div>

Hi, when I create new import from kinsta, it will works.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [June 16, 2021, 4:35pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/9 "2021-06-16T16:35:10Z")

</div>

Thanks for the additional info @Joona_Penttila . While we haven’t seen this come up before since the release of 1.1.7 on June 1, we’ll continue to monitor this. As for your current containers, it may require recreation of those sites since that appears to solve the issue on your end. I’m sorry for the trouble here!

---

<div class="post-metadata">

### Author: ![kadso](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kadso](https://community.kinsta.com/u/kadso)
#### Post date: [June 23, 2021, 7:52pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/10 "2021-06-23T19:52:54Z")

</div>

**Q: Date/Time this occurred (Provide your time zone also)**  
**A:** june 23, 3:15pm eastern time

**Q: DevKinsta Version**  
**A:** Version 1.1.7 (1.1.7.1647)

**Q: OS Version**  
**A:** MacOs 11.4

**Q: Docker Desktop Version**  
**A:** Version 3.5.0 (3.5.0.5309)

**Q: Were any error codes or messages observed? If so, what were they?**  
**A:** yes

We were able to connect to the database server (which means your username and password is okay) but not able to select the `butterfly` database.

- Are you sure it exists?
- Does the user `root` have permission to use the `butterfly` database?
- On some systems the name of your database is prefixed with your username, so it would be like `username_butterfly`. Could that be the problem?

If you don’t know how to set up a database you should **contact your host**. If all else fails you may find help at the [WordPress Support Forums](https://wordpress.org/support/forums/).

**Q: Detailed Description of the Problem**  
**A:** after updateing to docker v 3.5.0 I cannot access my localhost site. please advise…

---

<div class="post-metadata">

### Author: ![kadso](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kadso](https://community.kinsta.com/u/kadso)
#### Post date: [June 23, 2021, 8:23pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/11 "2021-06-23T20:23:30Z")

</div>

if it helps, I find the data below when open the database via “open database manager”:

" **/var/www/html/adminer.php** on line **1436**

**Warning** : Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:181) in **/var/www/html/adminer.php** on line **1436**

**Warning** : Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:181) in **/var/www/html/adminer.php** on line **1436**

**Warning** : Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:181) in **/var/www/html/adminer.php** on line **1436**

**Warning** : Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:181) in **/var/www/html/adminer.php** on line **1436**

**Warning** : Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:181) in **/var/www/html/adminer.php** on line **1436**

**Warning** : Cannot modify header information - headers already sent by (output started at /var/www/html/adminer.php:181) in **/var/www/html/adminer.php** on line **1437**

[MySQL](http://127.0.0.1:15200/?server=devkinsta_db) » [devkinsta\_db](http://127.0.0.1:15200/?server=devkinsta_db&username=root) » Database: butterfly

## Database: butterfly

Invalid database.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [June 24, 2021, 4:05pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/12 "2021-06-24T16:05:49Z")

</div>

Thanks for the additional information here @kadso . I’ve merged your thread with this one here.

---

<div class="post-metadata">

### Author: ![kadso](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kadso](https://community.kinsta.com/u/kadso)
#### Post date: [June 24, 2021, 6:02pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/13 "2021-06-24T18:02:40Z")

</div>

> [@michael](#):
>
> @Joona_Penttila [MacOS Docker for Desktop was released on 2021-06-09](https://docs.docker.com/docker-for-mac/release-notes/). What version did you have prior to this? I’m sorry for the trouble here. Could you try re-installing DevKinsta and let me know if that fixes it for you?
> 
> @onebigidea 🤔 That’s odd. It may be best to delete those containers and have DevKinsta recreate them.

Hi Michael,

I’m unclear as to what specifically you are suggesting…

So, reinstalling devkinsta did not help.

how do I go about deleting “those containers” which? And does devkinsta auto-reintall?

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [June 25, 2021, 5:09pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/14 "2021-06-25T17:09:43Z")

</div>

Hello @kadso @Joona_Penttila . If you can, would you mind sending us your `main.log` file? It can be found over at `/Users/{yourUserName}/Library/Logs/DevKinsta/main.log`. You can send it to me via DM on here as well. Thanks so much!

---

<div class="post-metadata">

### Author: ![kadso](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kadso](https://community.kinsta.com/u/kadso)
#### Post date: [June 25, 2021, 6:56pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/15 "2021-06-25T18:56:52Z")

</div>

Now done. Thanks for the help.

---

<div class="post-metadata">

### Author: ![hcmendez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hcmendez/32/438_2.png) [@hcmendez](https://community.kinsta.com/u/hcmendez)
#### Post date: [April 17, 2021, 9:37pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/16 "2021-04-17T21:37:34Z")

</div>

Today I was trying to open the website I have been working on and I this error: “Error establishing a database connection”

And when I tried to access “./wp-admin” I get this:

 ![devkinsta error](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/9fe5ba6fa1f6e444fd36819fa3f4324671a87795.png)

Also, when accessing to the database manager I get this error:

[![Imgur](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/2169fcaa1529c8f16c001beaab0b5818fcfc8fa4.png "imgur.com") ](https://imgur.com/oHgoITu)

I tried restarting PC, restarting docker and devkinsta, close it and open again, but nothing.

Help please, this website has a lot of progress and I don’t want to lost everything.

---

<div class="post-metadata">

### Author: ![hcmendez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hcmendez/32/438_2.png) [@hcmendez](https://community.kinsta.com/u/hcmendez)
#### Post date: [April 17, 2021, 9:47pm UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/17 "2021-04-17T21:47:41Z")

</div>

I just erased every container and image, restarted devkinsta an got this notification in windows.

[![Imgur](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/fa691e2ab9e8cec7ab5566cdb37f240ff26c1318.jpeg "imgur.com") ](https://imgur.com/25HUNe0)

---

<div class="post-metadata">

### Author: ![hcmendez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hcmendez/32/438_2.png) [@hcmendez](https://community.kinsta.com/u/hcmendez)
#### Post date: [April 18, 2021, 4:40am UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/18 "2021-04-18T04:40:51Z")

</div>

Now It gives me this error.

 ![devkinsta error 6](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/519c65dc6a7e158db9c9a2915b77012f02e1e6e5.png)

As you can see, DevKinsta has configured the database and everything was working ok! But now, I can’t access the website, and the database looks to be GONE! Please don’t tell me my database has been deleted.

---

<div class="post-metadata">

### Author: ![hcmendez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hcmendez/32/438_2.png) [@hcmendez](https://community.kinsta.com/u/hcmendez)
#### Post date: [April 18, 2021, 4:41am UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/19 "2021-04-18T04:41:43Z")

</div>

![devkinsta error 4](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/8f36ffbb7d445a3b78a3f5677886d1d7e00464a5.png)

---

<div class="post-metadata">

### Author: ![hcmendez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hcmendez/32/438_2.png) [@hcmendez](https://community.kinsta.com/u/hcmendez)
#### Post date: [April 18, 2021, 4:42am UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/20 "2021-04-18T04:42:48Z")

</div>

![devkinsta error 5](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/235ce1368a33d3856a3bf2b266602a5da7334ed7.png)

---

<div class="post-metadata">

### Author: ![hcmendez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hcmendez/32/438_2.png) [@hcmendez](https://community.kinsta.com/u/hcmendez)
#### Post date: [April 18, 2021, 7:57am UTC](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773/21 "2021-04-18T07:57:07Z")

</div>

Today I was trying to open the website I have been working on and I this error: “Error establishing a database connection”

Now I get this when I tried to access the database manager.

[![Imgur](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/2169fcaa1529c8f16c001beaab0b5818fcfc8fa4.png "imgur.com") ](https://imgur.com/oHgoITu)

I tried restarting PC, restarting docker and devkinsta, close it and open again, but nothing.

Help please, this website has a lot of progress and I don’t want to lost everything.

Also, I just erased every container and image, restarted devkinsta an got this notification in windows.

[![Imgur](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/fa691e2ab9e8cec7ab5566cdb37f240ff26c1318.jpeg "imgur.com") ](https://imgur.com/25HUNe0)

Now It gives me this error.

[![](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/519c65dc6a7e158db9c9a2915b77012f02e1e6e5.png) ](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/519c65dc6a7e158db9c9a2915b77012f02e1e6e5.png)

And my database is gone

[![](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/235ce1368a33d3856a3bf2b266602a5da7334ed7.png) ](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/235ce1368a33d3856a3bf2b266602a5da7334ed7.png)

[Next page](https://community.kinsta.com/t/can-t-select-database-after-docker-upgrade/773.md?page=2)
