I bet it turned out to be a problem in the priveledge table. You probably set your username up to accept connections from localhost and any host but not for the specific IP address that you were calling in your "database=test, host=x.x.x.x" statement.
Oh, and dbi:mysqlPP is valid if you have DBI::mysqlPP installed, and dbi:mysql is valid if you have DBI::Mysql installed.
| [reply] |