# Forgot Password 1.8.1 Docker

**URL:** https://community.xibo.org.uk/t/forgot-password-1-8-1-docker/10492
**Category:** Get Help
**Created:** [June 20, 2017, 8:26am UTC](https://community.xibo.org.uk/t/forgot-password-1-8-1-docker/10492 "2017-06-20T08:26:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![executiverocker](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/e/5f8ce5/32.png) [@executiverocker](https://community.xibo.org.uk/u/executiverocker)
#### Post date: [June 20, 2017, 8:26am UTC](https://community.xibo.org.uk/t/forgot-password-1-8-1-docker/10492/1 "2017-06-20T08:26:23Z")

</div>

Hi,

How do you reset your admin password for 1.8.1 when its running on Docker?

Thanks

---

<div class="post-metadata">

### Author: ![Peter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/peter/32/8154_2.png) [@Peter](https://community.xibo.org.uk/u/Peter)
#### Post date: [June 20, 2017, 9:57am UTC](https://community.xibo.org.uk/t/forgot-password-1-8-1-docker/10492/2 "2017-06-20T09:57:38Z")

</div>

You will need to run sql command (similar to 1.7 series) on the web container.

Please see here how to access mysql on docker - [How can I run a SQL command when using a Docker Install?](https://community.xibo.org.uk/t/how-can-i-run-a-sql-command-when-using-a-docker-install/9946)

ie  
`docker ps` (to learn the web container name)

`docker exec -it <container_name> bash`

`mysql -hmysql -ucms -p <your_password>` (The password will be the one you set in config.env when you installed Xibo.)

then make sure that you have database selected, you can run `use <databaseName>` if it’s not selected (default database name is `cms`)

then finally run the command to change the password ie

> UPDATE `user` set `UserPassword` = MD5(‘password’), CSPRNG = 0 WHERE `UserID` = 1 LIMIT 1;

Where ‘password’ will be your new password.

Alternatively install PhpMyAdmin as docker container and run the sql command from there (process described in the link I’ve mentioned).

---

<div class="post-metadata">

### Author: ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)
#### Post date: [March 4, 2020, 5:07pm UTC](https://community.xibo.org.uk/t/forgot-password-1-8-1-docker/10492/3 "2020-03-04T17:07:55Z")

</div>


