{"id":1303,"date":"2023-02-15T20:25:39","date_gmt":"2023-02-15T20:25:39","guid":{"rendered":"https:\/\/editjournal.redakt.eu\/faxmodem\/?p=1303"},"modified":"2023-02-15T20:29:30","modified_gmt":"2023-02-15T20:29:30","slug":"mysql-workbench-syncronize-model-table-mapping-not-saving","status":"publish","type":"post","link":"https:\/\/editjournal.redakt.eu\/faxmodem\/blog\/development\/mysql-workbench-syncronize-model-table-mapping-not-saving\/","title":{"rendered":"MySQL Workbench Syncronize Model: Table Mapping not saving?"},"content":{"rendered":"<h2>Problem<\/h2>\n<ol>\n<li>\n<p>Renamed tables in MySQL model<\/p>\n<\/li>\n<li>\n<p>Need to rename their counterparts on the live server<\/p>\n<\/li>\n<li>\n<p>The model does not recoginse the live tables because of different names<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-content\/uploads\/sites\/2\/2023\/02\/mysql-workbench-model-synchronize-table-mapping-error.png\" alt=\"Example of lost Table Mapping\" \/><\/p>\n<\/li>\n<li>\n<p>The standard solution would be to click the mismatched entry, then go to Table Mapping and there choose the right mapping. <strong>However<\/strong>, in my case the new mapping wasn't saved, and kept getting lost every time I clicked &quot;OK&quot;<\/p>\n<\/li>\n<\/ol>\n<h2>Solution<\/h2>\n<p>Launch your model and start by using <em>Database<\/em> \u2192 <em>Synchronize With Any Source<\/em> instead of <em>Database<\/em> \u2192 <em>Synchronize Model<\/em>.<\/p>\n<h2>Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/dba.stackexchange.com\/questions\/23389\/mysql-workbench-model-source-synchronize-issue\">DBA Stack Exchange \u2192 <em>MySQL Workbench model\/source synchronize issue<\/em><\/a><\/li>\n<li><a href=\"https:\/\/dev.mysql.com\/doc\/workbench\/en\/wb-database-synchronization.html\">MySQL Workbench Manual \u2192 <em>Database Synchronization<\/em><\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Problem Renamed tables in MySQL model Need to rename their counterparts on the live server The model does not recoginse the live tables because of different names The standard solution would be to click the mismatched entry, then go to Table Mapping and there choose the right mapping. However, in my case the new mapping&hellip; <a class=\"more-link\" href=\"https:\/\/editjournal.redakt.eu\/faxmodem\/blog\/development\/mysql-workbench-syncronize-model-table-mapping-not-saving\/\">Continue reading <span class=\"screen-reader-text\">MySQL Workbench Syncronize Model: Table Mapping not saving?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[706],"tags":[729],"class_list":["post-1303","post","type-post","status-publish","format-standard","hentry","category-development","tag-mysql-workbench","entry"],"_links":{"self":[{"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/posts\/1303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/comments?post=1303"}],"version-history":[{"count":3,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/posts\/1303\/revisions"}],"predecessor-version":[{"id":1310,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/posts\/1303\/revisions\/1310"}],"wp:attachment":[{"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/media?parent=1303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/categories?post=1303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/editjournal.redakt.eu\/faxmodem\/wp-json\/wp\/v2\/tags?post=1303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}