Sphinx password not accepted for mysql

Has your password got a hash # sign it? If so you must escape it \#