Migrate MySQL to PostgreSql and share tables - mysql

I want to use PgSql in my new proyect, but I have old tables I need to use. Which is the best way to share tables between both databases? Is there any way of synchronizing several tables between databases?

You can use SQLWays that convert T/SQL stored procedure, function, trigger, database schema (DDL) and data from Microsoft SQL Server to PostgreSQL.
See this link : Migrate from MySQL to PostgreSQL
or
Full Convert 6.4
You can find more solutions at Database Administrator or ServerFault.
See this: Dba Administrator

Related

How to load data from MySql to MS SQL Server database?

I have similar schema in both MySQL and MSSQL Server databases. How can I migrate just the data from MySql to an empty (no data) MSSqlServer database? MSSqlServer DB is empty with just the schema. I could not configure the MySql DB as a linked server (through ODBC) since I don't have DB Admin rights on MSSqlServer. I just have previleges to add data. I explored Sql Server Migration Assistant for MySQL, but I just want to migrate data without touching the schema at the target.
I also noticed that there is a SqlBulkCopy class which helps to programatically migrate data in .NET.
But I need to write code for each table (there are more than 100 tables and 20 GB of data).
What is the most elegant way to do it?
SSMA might be the easiest. Since you don't wanna use that, you can try using mysqldump. You can use it to essentially dump a MySQL db to SQL Server.
Link to the SSMA blog, they update these tools regularly, so check for a later version. SQL Server Migration Assistant (SSMA) Team's Blog

I need to create a table in MYSQL from MSSQL and insert/update data

I have a MS SQL 2008 server with a database and need to create a table in MYSQL from a table/data in MS SQL. The mysql database has been linked and I have full access to the database. Can I do this using openquery?
OPENQUERY doesn't let you run DDL statements against remote databases. To the best of my knowledge, MySQL doesn't have an equivalent method of interacting with other RDBMS's.
You can however do this from SQL Server using the Import/Export Wizard to copy your table to MySQL. You may need to install MyOleDB or a similar driver to connect to MySQL.
Please see http://msdn.microsoft.com/en-us/library/ms140052%28v=sql.105%29.aspx

program to compare database structures (sqlcompare alikes) for mysql?

Do you know of any programa that allows me to compare database structures on mysql?
For microsoft sql, I use Sql Delta, which is really great. It lets you compare, and synchronize, tables, views, functions, stored procedures, and data too. It automatically generates sql statements to synchronize both databases.
I was wondering if there's a visual tool like that for mysql (even better if it run on linux)
Checkout MySQL Workbench - http://www.mysql.de/products/workbench/
It's a free and official MySQL app, available for Windows, Mac OS & Linux. It's perfect for create a database schema, which you can deploy to your database (forward engineering). You can even create a schema out of an existing MySQL database or compare schemas.

copy mysql database into firebird/interbase

I have a client that uses the mysql database to enter data, but he wants the data can be read with accurate program that uses the Firebird database.
Is there a solution to move data in mysql to a Firebird database?
May be something like datapump

DB in MySQL migrate to Oracle DB

I need to migrate some tables in mysql db to oracle db.
Do you now any tutorial to learn about this migration?
Thanks
You can connect to the MySQL instance from Oracle using Oracle's database link - this link details making the connection from Oracle to MySQL.
Bearing in mind that the MySQL account you use to create the connection will determine access to MySQL data, once the link is created you can work within Oracle to select data from the MySQL tables into the Oracle tables without a need for scripts and such.
Find an ETL tool like Informatica or SSIS to help you. Oracle's Migration Workbench might be the perfect choice, since you're already using Oracle.