Access denied for user 'example username'@'' (using password: YES)

i have deployed WordPress and MySQL pod on Kubernetes cluster , i am able to access my DB from phpMyAdmin , but in wordpress showing "error establishing a database connection.
when i check log on mysql pod showing

[Note] Access denied for user ‘example username’@‘’ (using password: YES)

Please help to resolve this issue