Sync MySQL database and Quickbooks Database
quickbooks have completely different database, its not SQL based 
For quick books Enterprise you should have SQL data optimizer and you should be able integrate with MySQL. QuickBooks pro and premium don't have that feature but there are third party applications that might do database optimization.