SQL query module error

Hi All,

While running sql query module it is good for 90 percentage server. I am getting 10 percent of servers below errors. I tried but I couldn’t find solution. Thanks in advance

fatal: host_abc: FAILED! => {“changed”: false, “msg”: “unable to connect to database, check login_user and login_password are correct or /home/ansible-fuse/.my.cnf has the credentials. Exception message: (2005, \“Unknown MySQL server host ‘host_xyz’ (0)\”)”}