MySQL - 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 DEFAULT NULL: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
 
Строка 10: Строка 10:
  
 
Означает, что на сервере используется старая версия mariadb и нужно выполнить обновление до 10.3.x или выше.<br />
 
Означает, что на сервере используется старая версия mariadb и нужно выполнить обновление до 10.3.x или выше.<br />
'''MariaDB JSON Datatype is available from Version 10.2.7+''' . https://mariadb.com/kb/en/library/json-data-type/
+
'''MariaDB JSON Datatype is available from Version 10.2.7+'''  
 +
*https://mariadb.com/kb/en/library/json-data-type/

Текущая версия на 07:38, 9 сентября 2019

MySQL - 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 DEFAULT NULL

Ошибка при импорте дампа sql:

Enter password:
ERROR 1064 (42000) at line 92: 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 DEFAULT NULL,
`Opt` int(10) DEFAULT '0',
`Rozn1` int(10) DEFAULT '0',
' at line 7


Означает, что на сервере используется старая версия mariadb и нужно выполнить обновление до 10.3.x или выше.
MariaDB JSON Datatype is available from Version 10.2.7+