在线
客服

在线客服
尊敬的客户,我们24小时竭诚为您服务 公司总机: 0755-83312037 (32条线)

客服
热线

0755-83312037 (32条线)
7*24小时客服服务热线

?

关注
微信

关注官方微信
TOP

返回
顶部

利用SQLyogEnt转移Mysql数据库

发布时间:2018-05-17浏览次数:824 <p> </p> <table style="BORDER-RIGHT: #cccccc 1px dotted; TABLE-LAYOUT: fixed; BORDER-TOP: #cccccc 1px dotted; BORDER-LEFT: #cccccc 1px dotted; BORDER-BOTTOM: #cccccc 1px dotted" cellspacing="0" cellpadding="6" width="95%" align="center" border="0"><tbody><tr> <td style="WORD-WRAP: break-word" bgcolor="#fdfddf"> <font color="#ff0000">WebjxCom提示:</font><font color="#000000">利用SQLyogEnt对Mysql数据库进行转移.</font> </td> </tr></tbody></table> <p>如果你的PHP网站换了空间,必定要对Mysql数据库进行转移,一般的转移的方法,是备份再还原,有点繁琐,而且由于数据库版本的不一样会导致数据丢失或者出现乱码等等。下面介绍给大家一个方便的方法,就是利用SQLyogEnt对数据库进行转移。话不多说,下面直接进入正题。</p> <p>第一步,打开SQLyogEnt,链接到服务器,读取数据库信息</p> <p>第二步,点击快捷按钮的“sqlyog database synchronization wizard”按钮,如图。</p> <p style="TEXT-ALIGN: center"><img border="0" alt="木子网页设计" src="http://www.webjx.com/files/allimg/120109/2323190.jpg" width="554" height="62"></p> <p>在弹出的窗口中,选择“start a new synchronization session”,然后点击“下一步”。</p> <p style="TEXT-ALIGN: center"><img border="0" alt="木子网页设计" src="http://www.webjx.com/files/allimg/120109/2323191.jpg" width="596" height="494"></p> <p>第三步,选择转移的数据源和目标数据库,窗口左边的是数据源,右边窗口为目标数据库,设置好后点击下一步设置如图。</p> <p style="TEXT-ALIGN: center"><img style="WIDTH: 600px; HEIGHT: auto" border="0" src="http://www.webjx.com/files/allimg/120109/2323192.jpg" width="603" height="500" alt=""></p> <p>第四步,页面会跳转到下一个窗口,一般选择默认设置就可以了,然后点击下一步,如图。</p> <p style="TEXT-ALIGN: center"><img border="0" src="http://www.webjx.com/files/allimg/120109/2323193.jpg" width="590" height="490" alt=""></p> <p>第五步,这一步是要你选择要转移的表,你可以选择某一个表的转移,也可以将整个数据库转移,只要在需要转移的表的全面打钩就可以了,然后点击下一步,详细如图。</p> <p style="TEXT-ALIGN: center"><img border="0" alt="木子网页设计" src="http://www.webjx.com/files/allimg/120109/2323194.jpg" width="588" height="490"></p> <p>第六步,这一步是要保存项目,默认设置就可以了,然后下一步,如图。</p> <p style="TEXT-ALIGN: center"><img border="0" alt="木子网页设计" src="http://www.webjx.com/files/allimg/120109/2323195.jpg" width="592" height="491"></p> <p>第七步,这一步程序将自动进行数据库转移,等待转移好了,点击下一步,OK,整个转移操作就结束了,是不是很简单啊。</p> <p style="TEXT-ALIGN: center"><img border="0" src="http://www.webjx.com/files/allimg/120109/2323196.jpg" width="596" height="488" alt=""></p> <p style="TEXT-ALIGN: center"><img style="WIDTH: 600px; HEIGHT: auto" border="0" alt="木子网页设计" src="http://www.webjx.com/files/allimg/120109/2323197.jpg" width="601" height="497"></p>