Access denied due to hash character in MYSQL password

The db password in sphinx configure file should not contains any hash characters which cause access denied during connecting to the database server.