Hi,
Due to a MySQL bug regarding auto increment columns, I am investigating upgrading from MySQL 5.7 to 8.0 where the bug has been fixed. I have successfully upgraded the database but as I have table names and columns that are now reserved words I have to – according to the upgrade check report – enclose them in quotes (or back ticks) when referring to them. I can’t get this to work. I have tried enclosing the names in double quotes, single quotes and back ticks but still get the error (for table groups) Incorrect table name ‘ groups ‘. Also in the database painter, I cannot open these tables due to a syntax error.
Is there known issues with PB2019 Build 2082 and MySQL 8?
Thanks,
Gerry.
Thanks for the reply, I have never used that option before. If I check this option and use the back tick as quote character (other characters don't work), I can then edit the table in the database painter, but still get errors with embedded SQL. If I don't enclose the table name in quotes, I get a syntax error:
Database C0038: SQLSTATE = 37000[MySQL][ODBC 8.0(w) Driver[MySQL-8.0.16]You have an error in your syntax.......
If I enclose the table name in quotes, I still get the Incorrect table name error:
Database C0038: SQLSTATE = S1000[MySQL][ODBC 8.0(w) Driver[MySQL-8.0.16]Incorrect table name ' groups '
Any ideas?
Thanks.