Quantcast
Channel: MySQL Forums - MySQL Workbench
Viewing all articles
Browse latest Browse all 3724

MySQL Workbench is this a bug on Server or Workbench (no replies)

$
0
0
Hello,

I seem to have a problem with MySQL Workbench 6.3.4 and im not sure if it's the MySQL Server or Workbench.

When ever i use the wizzard to create a table all the columns have COMMENT

E.G
CREATE TABLE `****`.`TEST` (
`ID` INT UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '',
`TESTcol` VARCHAR(45) NOT NULL COMMENT '',
PRIMARY KEY (`ID`) COMMENT '');

However with the code like this it generates a 1064 (syntax error)
to correct this i then have to alter generated code and remove all the COMMENT '' blocks inside the code before it will accept it now do i need to update my MySQL Server for this syntax to work or should it be that Workbench is not detecting the Server Version and is incorrectly adding this syntax another questions arises here why is workbench adding the comment syntax when the comments are empty?

Viewing all articles
Browse latest Browse all 3724

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>