標題:
[SQL與PHP]
SqlServer轉換為Mysql的一款工具推薦(mss2sql)
[打印本頁]
作者:
gswdkimo
時間:
2011-10-28 09:52
標題:
SqlServer轉換為Mysql的一款工具推薦(mss2sql)
1.運行mss2sql.exe
[attach]146[/attach]
一共2個選項,我這裡選擇第一項:直接移動到Mysql服務器
add lock for write around 'insert' statements 周圍添加「insert」語句為寫入鎖定
insert 'create database' statement 插入「create database」語句
insert 'create table' statements 插入「create table」語句
insert comments 插入註釋
2.下一步:
[attach]147[/attach]
填寫Sql Server的鏈接信息,我這裡直接使用 "." (點),進行本機windows登陸方式進行鏈接,遠程服務器的話就自己填寫IP 、用戶名、密碼吧。
3.下一步
[attach]148[/attach]
填寫Mysql的鏈接信息,Access mode(訪問模式,我這裡選擇Local(本地),如果是導入到遠程主機就選Remote(遠程)吧),然後填寫好mysql的登陸賬號、密碼即可。(遠程主機的話在下面Host 、Port number、分別填寫IP地址和端口號)
4.下一步
[attach]149[/attach]
選擇Sql Server中需要轉換的數據庫,再右邊可以勾選轉換表的定義、跳過轉換索引。我這裡直接選擇轉換Test數據庫。
5.下一步
[attach]150[/attach]
這裡選擇需要轉換過去的表,一般選擇 Add all(全部),我這裡只有一張表Table_1 作為測試的。
然後下一步會出現正在轉換的進度條,進度條完成後,就轉換完成啦。
[attach]151[/attach]
destination path does not exist 目標路徑不存在
please verify the correct path was given 請確認路徑輸入是否正確
歡迎光臨 資訊家電班NO7 (http://imce07.freehostia.com/forums/)
Powered by Discuz! 7.2