0

I'm trying to create a table with a primary key from Libreoffice Base connected to MariaDB. A standard table with a primary, autogenerated (incrementing I presume) key.

But it fails with this message:

Error: 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
' PRIMARY KEY  ("ID"))' at line 1

Is there a way to view the query LibereOffice sends?

Leif Neland
  • 1,416
  • 1
  • 17
  • 40

1 Answers1

0

Enabling logging in the database, to table enabled me to see the faulty query.

SET GLOBAL log_output = 'TABLE';
SET GLOBAL general_log = 'ON';
Leif Neland
  • 1,416
  • 1
  • 17
  • 40