"error: 'exchange' is not a member of 'std'" Displayed on MySQL 8.0.25 During Automatic FDO
Symptom
The message "error: 'exchange' is not a member of 'std'" is displayed on MySQL 8.0.25 during automatic FDO.
Key Process and Cause Analysis
The new GCC 12 is incompatible with MySQL 8.0.25.
Conclusion and Solution
- Open the mysql-8.0.25/router/src/harness/include/mysql/harness/net_ts/executor.h file and add the utility header file.

- Perform automatic FDO again.
Parent topic: Troubleshooting