我要评分
获取效率
正确性
完整性
易理解

"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

  1. Open the mysql-8.0.25/router/src/harness/include/mysql/harness/net_ts/executor.h file and add the utility header file.

  2. Perform automatic FDO again.