MySQL – Error 1064 with Simple Query in MySQL Workbench

MySQLmysql-workbench

I'm getting a MySQL 1064 error for the simplest query when run with \G at the end. This works:

select * from locations;

and this doesn't:

select * from locations\G

hmmm… is there any way to see what the proper vertical representation is?

Best Answer

\G is a delimiter exclusive to the mysql client

I personally do not use MySQL Workbench, but many others have done the following

But here is the Blog for MySQL Workbench Team ( MySQL Workbench: Vertical Query Output )

Give Them a Try !!!