I have been trying to load spatial data to mysql 8 db and seems like it is not working. the import data section basically does not move from 0% but the tables are created with null values on every columns. Anyone know why this is happening? The steps I followed are as below:
It looks like it's just a wrapper around ogr2ogr. Try using the tool directly (it's FOSS, so you can grab it freely).
Then take a look at: How to Import shape file into MySQL
And maybe: https://www.gdal.org/drv_mysql.html
And https://www.igismap.com/insert-shapefile-in-mysql-as-spatial-data/
That all said, MySQL is very poor at handling spatial data. If you have any choice, use PostGreSQL and PostGIS instead.
For anyone who comes to this question, I found the answer yesterday.
Refer to the below videos for a step by step instrction: 1. https://www.youtube.com/watch?v=qC7OXFTkUW0&t=571s 2. https://www.youtube.com/watch?v=ZCVzCBeaHAE
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With