MySQL - Import a SQL Server 2008 database script generated - mysql

I have generated a 20Mb SQL script of a SQL Server 2008 R2 database with the function Generate Script with Schema and Data (INSERT INTO included).
I'd like to re-generate the database in a MySQL host on a CentOS 5.8 platform and so I tried with phpMyAdmin which has the MSSQL compatibility's import function, but it was trying to load the file then server closed the phpMyAdmin connection without a particular reason....
Is there a possible way to generate in a MySQL 5.5 host a new database from a SQL Server 2008 R2 .sql script?
Thanks in advance to everyone...
Cheers!
Luigi

Related

.bak file from MYSQL to MS SQL SERVER

I have got a .bak file of mysql database created using Linked server concept, the MYSQL Database has been accessed through SQLServer Instance. I wanted to import that to SQLSERVER 2019 database.
Is it same as a normal restore process or Is there anything I have to be careful about?

MySql database to Microsoft Server Managemant Studio

I have installed ODBC driver in order import Mysql database to MS sql Management Studio but still not connecting. What should I do?
You have installed MS SQL Management Studio which can connect with MS SQL Server to manage, create objects etc. There is nothing you should do from MS SQL M Studio to MySQL Server.
You have to install MySQL Workbench (free) to do your job. You have to install MySQL Workbench, export your data from it to '.sql' and then import it into your MS SQL Server after converting the SQL format from MySQL to MSSQL.
OPTION 2
Create MS Access database. Link both MS SQL Server's tables as well as MySQL Server's tables in it. (MS Access works great with MySQL Server).
Do simple copy and paste from one table (say MySQL S) to other (say MS SQL S) within MS Access.

how to migrate database from mysql to mssql?

I have a web server in php and my sql .Now I have to upgrade the same server from my php to asp and my sql to mssql.
I have to write the whole php code in asp but I think I can direct migrate the database from my sql to mssql to save much more time. in the my sql database there is no user input data as it the new totaly server.
Just I want to take whole structure of the database to the mssql.
After google some time there is a tool from microsoft called(Microsoft SQL Server Migration Assistant for MySQL) when I try to migrate the database I got an error that the destination table doesnot exit .
can some body help me to migrate the database including keys from mysql to mssql

MySQL dump to SQL Server 2008 R2

I recently redid a project for my company, and have to convert existing MySQL data to a SLQ Server 2008 R2 database.
I have a dump script from the old MySQL database, but it contains a helluva lot of data.
I was wondering if there are any solutions out there to feed the dump file to, and receive a SQL Server 2008 R2 script.
Any help would be appreciated.
Microsoft provides a free migration solution you maybe want to use
Microsoft SQL Server Migration Assistant (SSMA)
The free Microsoft SQL Server Migration Assistant (SSMA) makes it easy to migrate data from Oracle, Microsoft Access, MySQL, and Sybase to SQL Server. SSMA converts the database objects to SQL Server database objects, loads those objects into SQL Server, migrates data to SQL Server, and then validates the migration of code and data.

Given a SQL Server 2008 R2 *.mdf file, how can I import it to MySQL?

I've got a small SQL Server 2008 R2 *.mdf database file. I'm running Ubuntu and don't have SQL Server 2008 installed (and would prefer not to install it into my VM, if at all possible).
How can I import this data into a MySQL instance? Is this possible?
And MDF file is an internal file to SQL Server. One way to import it would be to attach it to a SQL Server and then exporting the data
SQL Integration Services
Custom Code
Using a conversion tool such as those listed in this article: Migrating from Microsoft SQL Server and Access to MySQL
However since you don't want to install SQL Server one suggestion perhaps using MONO to attach the mdf as datacontext in their equivalent of Linq2SQL and reading the data out your self.