bak文件转换成sql文件,如何将bak文件转换为sql文件(sql bak文件到mysql支持)和执行该文件自动恢复...

博主想将SQL Server的bak文件转换成MySQL支持的.sql/.csv/.xml文件,还需脚本自动从服务器驱动器取文件并执行恢复到在线MySQL数据库。博主有两个基于VB的系统,想在新Web应用中实现文件转换和更新数据库,解决方案是使用MySql Migration Tool kit。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

i want to convert a bak file of sql server into .sql/.csv/.xml file for mysql database.

And then i need a script that will automatically pick the file from server drive(suppose file is in D drive in mycomputer and script will automatically pick file from D drive) and execute sql/csv file to restore into my sql database(online) .

Actually i have two system, 1- is on VB that runs on local host and generates a bakup file daily

in the system and now i am going to create a new web application for same system that runs on VB.

i want that in my web application i write a script that will pick and backup file and ist convert into mysql supoported format(sql/csv/xml)(if necessary) and then execute that file for updating into mysql online database.

ANy kind of help will be highly appericiated.

many thanx in advance.

解决方案

Possible by using MySql Migration Tool kit.

First install the software ,follow below steps

b976c0a46b5e495ff0e9d97656e2e39d.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值