Sqlstate[hy000] [1045]

keep getting this
Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user ‘cloud’@‘172.18.0.3’ (using password: YES)

have changes that needed to changes nothing else
Using Docker Compose file

version: ‘2’

volumes:
nextcloud:
db:

services:
db:
image: yobasystems/alpine-mariadb:latest
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=password #Change This
- MYSQL_PASSWORD=password #Change This
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud

app:
image: nextcloud
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html #Change ‘nextcloud’ to your external drive volume if available
restart: always

Hi @DJ-Elliott,
You are missing the required support template. Please fill this form out and edit into your post.

Please also clarify what is going on. Are you installing Nextcloud for the first time? Or in the process of something else? Specificity is king when helping us volunteers help you.

This will give us the technical info and logs needed to help you! Thanks.

Seems if you search the forum this question has been answered many times. Here is one of the solutions: