# Retrieve private registry password from database

**URL:** <https://forums.suse.com/t/retrieve-private-registry-password-from-database/8185>\
**Category:** Rancher 1.x\
**Created:** [January 9, 2018, 4:07pm UTC](https://forums.suse.com/t/retrieve-private-registry-password-from-database/8185 "2018-01-09T16:07:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vainkop](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vainkop/32/3190_2.png) [@vainkop](https://forums.suse.com/u/vainkop)\
**Post date:** [January 9, 2018, 4:07pm UTC](https://forums.suse.com/t/retrieve-private-registry-password-from-database/8185/1 "2018-01-09T16:07:27Z")

</div>

Hello.

I have a Rancher server v1.6.10 with 2 private registries added. 1st dockerhub & 2nd on gitlab. I have only usernames.

I need to build another Rancher server & clone environments from the first one. I’ve exported the docker & rancher yaml files, but I don’t have the passwords for those registries so the server is unable to pull the images ☹

Is there any way to retrieve them plaintext? Perhaps from mysql database or smth like that?

Thanks!

---

<div class="post-metadata">

**Author:** ![vainkop](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vainkop/32/3190_2.png) [@vainkop](https://forums.suse.com/u/vainkop)\
**Post date:** [January 9, 2018, 4:35pm UTC](https://forums.suse.com/t/retrieve-private-registry-password-from-database/8185/2 "2018-01-09T16:35:27Z")

</div>

The mysql table “credential” was the one I was looking for!
