LOAD DATA INFILE 'path/to/your/file.csv'
INTO TABLE your_table
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
LINES TERMINATED BY '\n'
(column1, column2, @geo_data)
SET geometry_column = ST_GeomFromText(@geo_data);
SELECT column1, column2, ST_AsText(geometry_column) AS geo_data
INTO OUTFILE 'path/to/your/export/file.csv'
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
LINES TERMINATED BY '\n'
FROM your_table;