Skip to content

Commit

Permalink
Fix MySQL container name in troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
yndajas committed Nov 21, 2024
1 parent d742fc6 commit 1fb632c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ ActiveRecord::ConnectionNotEstablished: Plugin caching_sha2_password could not b

A workaround is to get MySQL to fall back to using `mysql_native_password` as follows:

- Check that you can see `govuk-docker_mysql-8_1` when running `govuk-docker ps`, if not you will need to start a service that uses mysql (for example Whitehall).
- Bring up a mysql console inside the container: `docker exec -it govuk-docker_mysql-8_1 mysql --user=root --password=root`
- Check that you can see `govuk-docker-mysql-8-1` when running `govuk-docker ps`, if not you will need to start a service that uses mysql (for example Whitehall).
- Bring up a mysql console inside the container: `docker exec -it govuk-docker-mysql-8-1 mysql --user=root --password=root`
- Alter the way the root user identifies itself. `ALTER USER 'root' IDENTIFIED WITH mysql_native_password BY 'root';`

## Browser based tests fail with `NoSuchSessionError: invalid session id`
Expand Down

0 comments on commit 1fb632c

Please sign in to comment.