Mysql – Squirel SQL uses wrong command for MySQL when renaming a column

MySQLtools

I installed Squirel SQL on Ubuntu and a downloaded and put a MySQL driver into the lib folder of the Squirel folder. Then I chose this driver in the "extra class" tab when configuring Squirel MySQL driver. Connecting to the database and viewing data works but when I try to rename a column in Squirel it suggests Oracle-specific code to do it instead of a MySQL-specific variant. What did I do wrong? Doesn't Squirel's refactoring tools support MySQL or how do I configure it to properly rename columns? PhpMyAdmin automaticaly solves the task just fine.

This is the SQL that is shown when I click "show SQL" in the "modify column" menu:

ALTER TABLE some_column ALTER COLUMN "one_name" RENAME TO "another_name";

This doesn't work. mySQL answers with incorrect syntax error.

Exact order of clicks to reproduce is:
right-click on a table in the left panel, then in the context menu "refactoring"->"column"->"modify column". Then you choose the column and edit the name. Button "execute" leads to an incorrect syntax error and "show sql" gives me this sql.

Best Answer

Works for me with the latest version of SQuirreL. Make sure that you change the dialect to MySQL in the Alter Column dialog. Its just below the column name.