This class can update database and files from a remote server.
The main class can connect to a remote MySQL database using PDO and retrieve the list of tables to compare with the locale MySQL database synchronize the new tables that need to be created or the existing tables that need to be updated.
Another class can also synchronize files referenced by specific database table records as they contain data not stored in the database itself.
A list of specific tables may be intentionally excluded from the synchronization process.