Transfer MySQL Database to SQL Express 2017 with MSSM - mysql

I just begin programming applications, and I need to install a demo of my software. But I read on internet that if I install a software using MySQL, I have obligation to give my source code except if I pay annual licence.(contacted Oracle support 3 months ago, but never got answer).
That's why I decided to transfer database on SQL Server, but now I meet that problem to install it on client's server, any advise about it also would be welcome. Thanks
I have a database in MySQL, and I would like to copy it on Microsoft Server 2017 through MS Server Migration.
On my local computer it works perfectly, but when I try to do it on the server, I have the following warning : SQL Server is not running. You must start SQL Server Agent to use Server-side data migration engine.
When I check services, I see in fact that no agent is running.
Looking on internet, I read that on SQL Express there is no Agent service, and I need to buy SQL Server Entreprise?

you can use data migration Free BI tools like pentaho PDI
By using this you can easily migrate data from MSSQL to MYsql

Related

Changing from SQL database server to hosting server's mySQL

I have made a web page which uses a local SQL database server.
Now that I want to publish the web page and place it online, I have to change everything, because the hosting server uses mySQL and presents me with his own mySQL database, and I don't know how to make that transition, I have an entity model in my solution and the Controller my database.
The specific question is - what are the steps to make that transition?
1 use SQL Tools (don't know what version you have) do a full backup.
2 from the new hosting server, restore the database.
3 change your connection strings or path (depends on programming environment) to use new MySQL.
Here is a link to what I used when I migrated in a similar way as to automate the whole process(Yes, it took a little learning but worth it). https://www.youtube.com/watch?v=rpPANKhbpDs
try to install mysql connector
https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html
MySQL Workbench provides you with the Migration Wizard feature. It allows you to migrate databases from various RDBMS products to MySQL.
This documentation would help you get started,... http://mysqlworkbench.org/2012/07/migrating-from-ms-sql-server-to-mysql-using-workbench-migration-wizard/
There are also several paid tools available which convert MS SQL to MySQL, but I've never used them personally. These tool come with free trial so you can actually test them before purchase. You can also refer similar threads on Stackoverflow,...
How to migrate SQL Server database to MySQL?
How to export SQL Server database to MySQL?

What is the process for importing and viewing a Microsoft SQL Database (.BAK)?

I have always worked with a LAMP stack - I'm a bit lost when it comes to Microsoft.
I have been sent a very large Microsoft SQL file (.bak) and I would like to take a look at it (using something like PHPMyAdmin).
What do I need to do from zero to importing/viewing this database (and what tools should I be acquiring/using in order to do so)?
Help is much appreciated, thank you.
Install MS SQL Server Express
Run SQL Server Management Studio and connect to your local instance.
Using GUI restore your database(SQL Server Express support max 10GB DB).
Now you can see DB Objects using Object Explorer and write custom queries.
If your DB is larger than 10GB download SQL Server Standard/Enterprise trial version.

Migrating SQL DB from SQL 2005 to 2012 and going through Upgrade Advisor

I needed to migrate a DB from SQL 2005 server ( residing in a 2003 Windows ) to SQL 2012 ( 2012 Windows ). Most of the threads recommends me to go through the Upgrade Advisor before migrating DB.
My concern is, as 2003 server almost outdated, I don't have one or in a situation can't provision new but I have 2008R2 and 2012 Windows servers. Can I perform the "Upgrade Advisor" exclusively via 2008/2012 server by restoring the DB in any of the above.
The current 2003 server is a live one so I am scared to perform the upgrade in it. So thinking of performing the "Upgrade Advisor" in a 3rd server to be on the safer side. Is that possible... Does Upgrade Advisor can perform the task from any server/edition to any server/edition.
In addition to that, does Upgrade Advisor is necessary or any other alternatives..
Thanks in advance for your inputs.
As I know, Upgrade Advisor is required to know those things which would be necessary to be careful before migrating database from lower version to upper one. So, its better to be sure before migrating database.
Next there are other third party tools that can perform similar plus some more extended features for migration of database. So you can search for those also, currently I will not prefer you any of them because that will cost you.
Now, for migration of database from SQL Server 2005 to SQL Server 2012, its better to perform Upgrade Advisory from updated version. And if I am not wrong SQL Server provides such feature. So if needed I would prefer to preform Upgrade Advisor from Server 2012.

SQL Server sync to MySQL program

I want to continually sync every 30 mins or less around 380000 rows of data from 11 tables from a SQL Server database to a MySQL database. How can I do this? What programs can do this?
This post, which is often used to close questions like these as a duplicate, does not work for me, for the following reasons.
The SQL Server is part of a CRM system, I'm not sure if it may be a lite version or something, but long story short I do not have access to the SQL Server Management Studio.
The MySQL database is part of my hosting package, which means I have access to it via phpmyadmin and the like, but not to the console or anything. And obviously I cannot access it via localhost.
So basically what I'm looking for is a way to connect to both databases, probably via ODBC drivers, and sync data every x minutes/hours.
I finally used a program called Omega Sync. Now called Spectral Core Replicator.
Omega Sync can compare and synchronize both database schema and table data. Schema comparison and synchronization for databases of same kind
Data comparison and synchronization even for databases of different kind
Compare and Synchronize databases of unlimited size!
Supported databases
Access
SQL Server
MySQL
Oracle
Interbase
Firebird
ODBC sources
I am not associated with this company or product in any way.
Microsoft SQL Server replication can apply the changes to generic ODBC/OleDB subscribers. You can configure MySQL as a subscriber if you follow the right steps and use the correct drivers, but is not officially supported so you are on your own if something goes wrong. Eg. see Set up replication between Microsoft SQL Server 2000 and MySQL. since the article is for SQL 2000 is already deprecated since Microsoft SQL 2008 supports OleDB subscribers, not ODBC.
You will need a very deep understanding of both Microsoft SQL Server, MySQL, ODBC/OleDB and Microsoft SQL Server replication. If you hit errors you'll have to solve them on your own, as the public information on this subject is scarce. I can only tell you that is possible and I've seen it done. Good Luck!

I'm trying to migrate SQL SERVER Express to MySQL

I have a somewhat small database in SQL Server Express 2005 that I really need to migrate over to a MySQL install on my hosting service (Dreamhost). After reading for a couple days, everything pointed to the MySQL Migration Toolkit, which is unfortunately EOL. I was able to find an archive and install it on my server running Sql Server. I set the source database, and set my Dreamhost MySQL as the destination. For whatever reason I get tons of permission errors trying to migrate although the user I'm connecting to MySQL as full permissions (working with dreamhost on this).
Is there a better way to do this? I've heard that I should use some third party tools, (like dbtools) and then I heard NOT to use third party tools.
Like I said the database is small, with a few views, a few functions, and a few stored procs, which I can manually move over if needed.
What are my options? Thank you!
Export your SQL Server database to a downloadable package (SSIS?)
Install SQL Server Express locally.
Install MySQL locally.
Run the Migration Toolkit locally.
Dump the MySQL database
Upload and run the Dump file # DreamHost (via phpMyAdmin if possible).
For such a small database you may spend more time trying to get a 3rd party tool to work for your situation than it would take you to just move the stuff manually. If you used standard SQL and little to nothing proprietary to SQL Server, creating the objects manually in MySQL should be easy enough... you just have to be aware of the slight syntax differences between the two platforms. Once the structures are created, generating insert statements to populate the data should also be trivial.