How do I setup Mariadb GIS extension?

Hi I have mariadb (10.3.17) with Debian Buster working. How do I set up GIS extension.

I have tried:

mysql mydb < /usr/share/mysql/maria_add_gis_sp.sql mysql mydb < /usr/share/mysql/maria_add_gis_sp_bootstrap.sql

But the last one gives:

ERROR 1064 (42000) at line 26: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 4

Best regards



Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.