The .my.cnf file is in place, the issue is that the command /usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT 1; throws "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)" from a container
The .my.cnf file is in place, the issue is that the command /usr/bin/mysql --defaults- extra-file= /root/. my.cnf -NBe SELECT 1; throws "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)" from a container