in reply to Connecting to an external Mysql Database

Provided your connection information is correct, this could be an issue of:

$\=~s;s*.*;q^|D9JYJ^^qq^\//\\\///^;ex;print