Archive → July, 2012
Whit ogr you can load a shape file directly onto an existing database. The syntax is quite simple:
ogr2ogr -f "MySQL" MySQL:"ogr,user=root,host=localhost,password=root" -lco engine=MYISAM Comuni_01.shp
Please note this is for April 2012 version. If you’re importing another release of Patstat you have to change the thing accordingly.