To work around this issue, you must delete any duplicate bindings before you upgrade.
1. SSH to the CF deployment MySQL VM.
2. Connect to the MySQL database. As a superuser run this command to connect to
mysql:
# mysql --defaults-file=/var/vcap/jobs/pxc-mysql/config/mylogin.cnf
3. Target the
ccdb database with this command:
mysql> use ccdb;
4. Run the following query to check for multiple service bindings for the same app and service.
mysql> select app_guid, service_instance_guid, count(*) from service_bindings group by app_guid,service_instance_guid having count(*) > 1;
5. If the query returns
"Empty set" you are clear to proceed with the upgrade. If the query returns any data indicating that there are duplicates found, contact VMware Tanzu Support to help clean up these duplicates.