code

Json 데이터 유형이 mariadb에서 작동하지 않습니다.

starcafe 2023. 9. 5. 20:40
반응형

Json 데이터 유형이 mariadb에서 작동하지 않습니다.

이 sql이 작동할 수 있도록 도와주세요.

create table testjson(data json);

json 유형 때문에 이 쿼리가 작동하지 않습니다.

ERROR 1064 (42000): 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 'json)' at line 1

저는 mariadb10을 사용하고 있습니다.mysql 명령어로 연결했을 때의 출력입니다.

$ mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.5.5-10.0.24-MariaDB mariadb.org binary distribution

JSON 데이터 유형은 없습니다. 적어도 이전 버전 5.5에는 없습니다.

언급URL : https://stackoverflow.com/questions/36880370/json-data-type-is-not-working-on-mariadb

반응형