I'm following TechnoDadLife's Nextcloud tutorial in docker, but I keep running into the same problem. You can go to the time 6:31 in the video, where I am stuck. I am trying to login to my Nextclouddb that I created with MariaDB, but the result is as followed:
root@ASUS:~# docker restart Nextclouddb
Nextclouddb
root@ASUS:~# docker exec -it Nextclouddb bash
root@1b5091589fe6:/# mysql -uroot -p
Warning: World-writable config file '/etc/mysql/conf.d/custom.cnf' is ignored
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I deleted all the files, deleted the containers and started from scratch with the same problem. I even killed the instance, set the varriable MYSQL_ROOT_PASSWORD again and restarted the container with no luck. Help please!