Skip to content
Advertisement

Syntax message in sql

I have a problem i don’t realy know how to fix,

I took this sql when i exported my database in localhost, but when i try to create the User Table for my site in Production i get this Error message.

I thought it was because je ‘Json’ format for the ‘role’ but when i change it to ‘array’ i still get the same error.

Advertisement

Answer

Check your mysql version. Based on mysql site documentation, it say:

reference: https://dev.mysql.com/doc/refman/8.0/en/json.html

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement