I'm trying to use the JSON_EXTRACT function in MySQL, but when I run the query:
SELECT JSON_EXTRACT('{"username":"Olivia"}', '$.username');
I receive the error: Error Code: 1305. FUNCTION JSON_EXTRACT does not exist.
I was under the impression that JSON_EXTRACT was a MySQL built in function, but was I mistaken?
If anyone knows how to correct this, I'd appreciate it. Thanks!
v-5.7of mysql, you may have a lower version of mysql. Check your mysql version.