Navicat 15.0.11 Mariadb 报错:1064 - 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 'insert into reg(loginname, name,password) values ('tom','tom','tom')' at line 2, Time: 0.000000s
语句:
select * from reg
insert into reg(loginname, name,password) values ('tom','tom','tom')
官方文档查询:https://mariadb.com/kb/en/mariadb-error-codes/#shared-mariadbmysql-error-codes
更改:
select * from reg;
insert into reg(loginname, `name`,`password`) values ('tom','tom','tom');
问题解决啦!