1. [root@thinkmake thinkmake]# mysql-workbench --version
  2. MySQL Workbench CE (GPL) 6.2.5 0 build 397
  3. Starting...
  4. Connect to source DBMS...
  5. - Connecting...
  6. Connecting to Mysql@localhost:3306...
  7. Connected to Mysql@localhost:3306, 10.0.17-MariaDB-log
  8. Connect to source DBMS done
  9. Reverse engineer selected schemas....
  10. Reverse engineering mysql from def
  11. - Preparing...
  12. - Preparing...
  13. Reverse engineering tables from mysql
  14. - Retrieving table mysql.column_stats...
  15. - Reverse engineering mysql.column_stats...
  16. - Parsing MySQL SQL Script...
  17. ERROR: Line 8: SQL syntax error near 'decimal(12,4) DEFAULT NULL,
  18. `avg_length` decimal(12,4) DEFAULT NULL,
  19. `avg_fr'. Statement skipped.
  20. - Creating foreign key references...
  21. - Finished parsing MySQL SQL script.
  22. - Retrieving table mysql.columns_priv...
  23. - Reverse engineering mysql.columns_priv...
  24. - Parsing MySQL SQL Script...
  25. ERROR: Line 8: SQL syntax error near 'timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  26. `Col'. Statement skipped.
  27. - Creating foreign key references...
  28. - Finished parsing MySQL SQL script.
  29. - Retrieving table mysql.db...
  30. - Reverse engineering mysql.db...
  31. - Parsing MySQL SQL Script...
  32. - Processing object: db
  33. - Creating foreign key references...
  34. - Finished parsing MySQL SQL script.
  35. - Retrieving table mysql.event...
  36. - Reverse engineering mysql.event...
  37. - Parsing MySQL SQL Script...
  38. ERROR: Line 7: SQL syntax error near 'datetime DEFAULT NULL,
  39. `interval_value` int(11) DEFAULT NULL,
  40. `interval_fiel'. Statement skipped.
  41. - Creating foreign key references...
  42. - Finished parsing MySQL SQL script.
  43. - Retrieving table mysql.func...
  44. - Reverse engineering mysql.func...
  45. - Parsing MySQL SQL Script...
  46. ERROR: Line 4: SQL syntax error near 'tinyint(1) NOT NULL DEFAULT '0',
  47. `dl` char(128) COLLATE utf8_bin NOT NULL DEFA'. Statement skipped.
  48. - Creating foreign key references...
  49. - Finished parsing MySQL SQL script.
  50. - Retrieving table mysql.general_log...
  51. - Reverse engineering mysql.general_log...
  52. - Parsing MySQL SQL Script...
  53. ERROR: Line 3: SQL syntax error near 'timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6'. Statement skipped.
  54. - Creating foreign key references...
  55. - Finished parsing MySQL SQL script.
  56. - Retrieving table mysql.gtid_slave_pos...
  57. - Reverse engineering mysql.gtid_slave_pos...
  58. - Parsing MySQL SQL Script...
  59. ERROR: Line 3: SQL syntax error near 'int(10) unsigned NOT NULL,
  60. `sub_id` bigint(20) unsigned NOT NULL,
  61. `server_id'. Statement skipped.
  62. - Creating foreign key references...
  63. - Finished parsing MySQL SQL script.
  64. - Retrieving table mysql.help_category...
  65. - Reverse engineering mysql.help_category...
  66. - Parsing MySQL SQL Script...
  67. ERROR: Line 3: SQL syntax error near 'smallint(5) unsigned NOT NULL,
  68. `name` char(64) NOT NULL,
  69. `parent_category_id'. Statement skipped.
  70. - Creating foreign key references...
  71. - Finished parsing MySQL SQL script.
  72. - Retrieving table mysql.help_keyword...
  73. - Reverse engineering mysql.help_keyword...
  74. - Parsing MySQL SQL Script...
  75. ERROR: Line 3: SQL syntax error near 'int(10) unsigned NOT NULL,
  76. `name` char(64) NOT NULL,
  77. PRIMARY KEY (`help_keyw'. Statement skipped.
  78. - Creating foreign key references...
  79. - Finished parsing MySQL SQL script.
  80. - Retrieving table mysql.help_relation...
  81. - Reverse engineering mysql.help_relation...
  82. - Parsing MySQL SQL Script...
  83. ERROR: Line 3: SQL syntax error near 'int(10) unsigned NOT NULL,
  84. `help_keyword_id` int(10) unsigned NOT NULL,
  85. PRIM'. Statement skipped.
  86. - Creating foreign key references...
  87. - Finished parsing MySQL SQL script.
  88. - Retrieving table mysql.help_topic...
  89. - Reverse engineering mysql.help_topic...
  90. - Parsing MySQL SQL Script...
  91. ERROR: Line 3: SQL syntax error near 'int(10) unsigned NOT NULL,
  92. `name` char(64) NOT NULL,
  93. `help_category_id` smal'. Statement skipped.
  94. - Creating foreign key references...
  95. - Finished parsing MySQL SQL script.
  96. - Retrieving table mysql.host...
  97. - Reverse engineering mysql.host...
  98. - Parsing MySQL SQL Script...
  99. - Processing object: host
  100. - Creating foreign key references...
  101. - Finished parsing MySQL SQL script.
  102. - Retrieving table mysql.index_stats...
  103. - Reverse engineering mysql.index_stats...
  104. - Parsing MySQL SQL Script...
  105. ERROR: Line 6: SQL syntax error near 'int(11) unsigned NOT NULL,
  106. `avg_frequency` decimal(12,4) DEFAULT NULL,
  107. PRIMA'. Statement skipped.
  108. - Creating foreign key references...
  109. - Finished parsing MySQL SQL script.
  110. - Retrieving table mysql.innodb_index_stats...
  111. - Reverse engineering mysql.innodb_index_stats...
  112. - Parsing MySQL SQL Script...
  113. ERROR: Line 6: SQL syntax error near 'timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  114. `sta'. Statement skipped.
  115. - Creating foreign key references...
  116. - Finished parsing MySQL SQL script.
  117. - Retrieving table mysql.innodb_table_stats...
  118. - Reverse engineering mysql.innodb_table_stats...
  119. - Parsing MySQL SQL Script...
  120. ERROR: Line 5: SQL syntax error near 'timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  121. `n_r'. Statement skipped.
  122. - Creating foreign key references...
  123. - Finished parsing MySQL SQL script.
  124. - Retrieving table mysql.plugin...
  125. - Reverse engineering mysql.plugin...
  126. - Parsing MySQL SQL Script...
  127. - Processing object: plugin
  128. - Creating foreign key references...
  129. - Finished parsing MySQL SQL script.
  130. - Retrieving table mysql.proc...
  131. - Reverse engineering mysql.proc...
  132. - Parsing MySQL SQL Script...
  133. ERROR: Line 15: SQL syntax error near 'timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  134. `mod'. Statement skipped.
  135. - Creating foreign key references...
  136. - Finished parsing MySQL SQL script.
  137. - Retrieving table mysql.procs_priv...
  138. - Reverse engineering mysql.procs_priv...
  139. - Parsing MySQL SQL Script...
  140. ERROR: Line 10: SQL syntax error near 'timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  141. PRIM'. Statement skipped.
  142. - Creating foreign key references...
  143. - Finished parsing MySQL SQL script.
  144. - Retrieving table mysql.proxies_priv...
  145. - Reverse engineering mysql.proxies_priv...
  146. - Parsing MySQL SQL Script...
  147. ERROR: Line 7: SQL syntax error near 'tinyint(1) NOT NULL DEFAULT '0',
  148. `Grantor` char(141) COLLATE utf8_bin NOT NULL'. Statement skipped.
  149. - Creating foreign key references...
  150. - Finished parsing MySQL SQL script.
  151. - Retrieving table mysql.roles_mapping...
  152. - Reverse engineering mysql.roles_mapping...
  153. - Parsing MySQL SQL Script...
  154. - Processing object: roles_mapping
  155. - Creating foreign key references...
  156. - Finished parsing MySQL SQL script.
  157. - Retrieving table mysql.servers...
  158. - Reverse engineering mysql.servers...
  159. - Parsing MySQL SQL Script...
  160. ERROR: Line 8: SQL syntax error near 'int(4) NOT NULL DEFAULT '0',
  161. `Socket` char(64) NOT NULL DEFAULT '',
  162. `Wrapper'. Statement skipped.
  163. - Creating foreign key references...
  164. - Finished parsing MySQL SQL script.
  165. - Retrieving table mysql.slow_log...
  166. - Reverse engineering mysql.slow_log...
  167. - Parsing MySQL SQL Script...
  168. ERROR: Line 3: SQL syntax error near 'timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6'. Statement skipped.
  169. - Creating foreign key references...
  170. - Finished parsing MySQL SQL script.
  171. - Retrieving table mysql.table_stats...
  172. - Reverse engineering mysql.table_stats...
  173. - Parsing MySQL SQL Script...
  174. ERROR: Line 5: SQL syntax error near 'bigint(21) unsigned DEFAULT NULL,
  175. PRIMARY KEY (`db_name`,`table_name`)
  176. ) ENGIN'. Statement skipped.
  177. - Creating foreign key references...
  178. - Finished parsing MySQL SQL script.
  179. - Retrieving table mysql.tables_priv...
  180. - Reverse engineering mysql.tables_priv...
  181. - Parsing MySQL SQL Script...
  182. ERROR: Line 8: SQL syntax error near 'timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  183. `Tab'. Statement skipped.
  184. - Creating foreign key references...
  185. - Finished parsing MySQL SQL script.
  186. - Retrieving table mysql.time_zone...
  187. - Reverse engineering mysql.time_zone...
  188. - Parsing MySQL SQL Script...
  189. ERROR: Line 3: SQL syntax error near 'int(10) unsigned NOT NULL AUTO_INCREMENT,
  190. `Use_leap_seconds` enum('Y','N') NOT'. Statement skipped.
  191. - Creating foreign key references...
  192. - Finished parsing MySQL SQL script.
  193. - Retrieving table mysql.time_zone_leap_second...
  194. - Reverse engineering mysql.time_zone_leap_second...
  195. - Parsing MySQL SQL Script...
  196. ERROR: Line 3: SQL syntax error near 'bigint(20) NOT NULL,
  197. `Correction` int(11) NOT NULL,
  198. PRIMARY KEY (`Transition'. Statement skipped.
  199. - Creating foreign key references...
  200. - Finished parsing MySQL SQL script.
  201. - Retrieving table mysql.time_zone_name...
  202. - Reverse engineering mysql.time_zone_name...
  203. - Parsing MySQL SQL Script...
  204. ERROR: Line 4: SQL syntax error near 'int(10) unsigned NOT NULL,
  205. PRIMARY KEY (`Name`)
  206. ) ENGINE=MyISAM DEFAULT CHARSE'. Statement skipped.
  207. - Creating foreign key references...
  208. - Finished parsing MySQL SQL script.
  209. - Retrieving table mysql.time_zone_transition...
  210. - Reverse engineering mysql.time_zone_transition...
  211. - Parsing MySQL SQL Script...
  212. ERROR: Line 3: SQL syntax error near 'int(10) unsigned NOT NULL,
  213. `Transition_time` bigint(20) NOT NULL,
  214. `Transitio'. Statement skipped.
  215. - Creating foreign key references...
  216. - Finished parsing MySQL SQL script.
  217. - Retrieving table mysql.time_zone_transition_type...
  218. - Reverse engineering mysql.time_zone_transition_type...
  219. - Parsing MySQL SQL Script...
  220. ERROR: Line 3: SQL syntax error near 'int(10) unsigned NOT NULL,
  221. `Transition_type_id` int(10) unsigned NOT NULL,
  222. `'. Statement skipped.
  223. - Creating foreign key references...
  224. - Finished parsing MySQL SQL script.
  225. - Retrieving table mysql.user...
  226. - Reverse engineering mysql.user...
  227. - Parsing MySQL SQL Script...
  228. ERROR: Line 39: SQL syntax error near 'int(11) unsigned NOT NULL DEFAULT '0',
  229. `max_updates` int(11) unsigned NOT NULL'. Statement skipped.
  230. - Creating foreign key references...
  231. - Finished parsing MySQL SQL script.
  232. Reverse engineering triggers from mysql
  233. Reverse engineering stored procedures from mysql
  234. Reverse engineering functions from mysql
  235. - Reverse engineered 30 objects
  236. Reverse engineer selected schemas finished
  237. Post-processing of reverse engineered schemas...
  238. Post-processing of reverse engineered schemas done
  239. Tasks finished with warnings and/or errors, view the logs for details
  240. Finished performing tasks.