I just called the ST_CENTROID(), MySQL 8 returns:
[22001][3618] Data truncation: st_centroid(POLYGON) has not been implemented for geographic spatial reference systems.
I want get polygons from my db which should be within a circle, I use the function ST_Distance_Sphere() ,it needs two parameters both point so I need to get the polygon`s center point to complete it.