I have used following query for export query result as csv file..
QUERY
SELECT * FROM city WHERE loc7 = 33
INTO OUTFILE 'D://file.csv'
FIELDS TERMINATED BY ','
This above query has Excecuted phpmyadmin 3.3.9 and mysql version()5.5.8
and this same query has returned error for Unrecognized Keyword FIELDS
and Unrecognized kerword TERMINATED
in phpmyadmin 4.5.4 and mysql version()5.7.13-0ubuntu0.16.04.2
how to solve this problem? is there any way available to overcome this prob?