Dockerized Seafile 6.3.4 to 7.0.2 shows MYSQL db update error

The error i get from the seafile container ist the following:
[ERROR] Failed to connect to mysql database ccnet_db: Access denied for user ‘seafile’@‘’ (using password: YES)

I followed the official update instructions.
I added the root access and remote access before deleting the old seafile container. Setup mit docker-compose.yml and started the containers via docker-compose.
But the seafile container fails with the error message above.

the db passwd at the docker-compose.yml was wrong …

well now i get the same error but with the user root …
and i did sudo docker exec -it seafile /usr/bin/mysql -e "grant all on *.* to 'root'@'%.%.%.%' identified by 'password';"