https://github.com/seriawei/mssql2mysql
This tool is used to generate mysql script from microsoft sql server
https://github.com/seriawei/mssql2mysql
mssql mysql
Last synced: 3 months ago
JSON representation
This tool is used to generate mysql script from microsoft sql server
- Host: GitHub
- URL: https://github.com/seriawei/mssql2mysql
- Owner: SeriaWei
- License: mit
- Created: 2019-05-28T09:13:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-17T08:59:08.000Z (11 months ago)
- Last Synced: 2024-08-17T10:28:08.861Z (11 months ago)
- Topics: mssql, mysql
- Language: C#
- Homepage: http://www.zkea.net
- Size: 33.2 KB
- Stars: 14
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microsoft SQL Server to MySQL
This script is used to generate mysql script(table and data) from microsoft sql server## Install
This is a .NET Core Global Tool and .NET Core SDK is required https://dotnet.microsoft.com/download
```
dotnet tool install --global mssql2mysql
```
## Generate MySQL Script
Generate mysql script with MSSQL connection string
```
mssql2mysql -c "Server=(local);Database=ZKEACMS;User Id=sa;Password=sa;MultipleActiveResultSets=true;"
```Use `-f` to specify the output filename
```
mssql2mysql -f dump.sql -c "Server=(local);Database=ZKEACMS;User Id=sa;Password=sa;"
```Use `-s` if you want to include create schema
```
mssql2mysql -s ZKEACMS -c "Server=(local);Database=ZKEACMS;User Id=sa;Password=sa;"
```