MySQL Datasource failed to be created, if password contains '@'

How to resolve this ? I have no control to the mysql server to be able to change the password that contains ‘@’ characters. I tried single quote, double quote, backslahing the ‘@’ characters, all failed.

example :
password: xyz@123 -> failed
password: xyz_123 -> success