I just used the ogr2ogr command line tool to import a form file into a mysql database. Verify that the database server allows external connections. If this does not happen, then it throws all kinds of errors.
After that you can use -
Select ASTEXT (Shape) POLYGON from the world to get an array of polygon coordinates, etc.
user1464629
source share