Added "PDO::MYSQL_ATTR_LOCAL_INFILE => true" to MySQL connection options. Needed for dump_predb.php remote. You also need to configure the MySQL server to allow loading loading files (see http://goo.gl/L4cUij - Basically you need local-infile=1 in my.cnf for both [mysql] and [mysqld] and make sure mysqld is not started with --local-infile=0)