Deploying PTPFlow middleware requires four major steps:
You need to have root access to the mysql database.
mysql -u root -p < all_with_user.sql
mysql -u root -p -h [host_ip] < all_with_user.sql
Refer to PTPFlow manual