Linuxserver/mariadb could not connect to mariadb from host

Dear support,
I could not connect to mariadb from host.
I have uncommented line in custom.cnf
bind-address=0.0.0.0
and made custom port equal to 3307 in container options.
But when I’m trying to connect from host:
sudo mysql -u root -P 3307 -p
Enter password:
System says
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
Here is my env output:
DATADIR=/config/databases
TZ=Asia/Yekaterinburg
HOSTNAME=mariadb_nextcloud
PUID=1007
MYSQL_ROOT_PASSWORD=my_next_cloud
PGID=100
PWD=/
HOME=/root
TERM=xterm
SHLVL=1
LANGUAGE=en_US.UTF-8
MYSQL_DIR=/config
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
_=/usr/bin/env

Could you please help with this issue?

Hi, since I’ve having the same problem, have you found any solution?