CREATE TABLE t1 (id INT AUTO_INCREMENT PRIMARY KEY, v VECTOR(5) NOT NULL,
VECTOR INDEX (v));
Unrecognized data type. (near VECTOR)
Unrecognized data type. (near INDEX)
MariaDB >= 11.7.1
MySQL >= 9.0.0
For MariaDB also vector functions:
https://mariadb.com/docs/server/reference/sql-functions/vector-functions
VEC_DISTANCE
VEC_DISTANCE_COSINE
VEC_DISTANCE_EUCLIDEAN
VEC_FromText
VEC_ToText