Encountering connection error while trying to establish mysql connection in a php script.

I am encountering this error while trying to run php script.

Connection failed: ProxySQL Error: Access denied for user '_rohit’@'********* (using password: YES)

my php script looks like this

Likely using wrong details.