Is there a way of communiaction between MySQL and Oracle besides ODBC? - mysql

So, the question is simple - how to make a query from Oracle to MySQL and the other way around. ODBC is out of the question due to slow performance.

Disclaimer: I am the creator of the MySQL DataController plugin.
As far for Oracle to MSSQL, you may create DBLinks for such queries. There are plenty of documentation on how to create a database link on Oracle using the MSSQL Driver.Just google "Database link from Oracle to SQL Server"
If you want to do the inverse, you may use the plugin that we wrote for mysql. The plugin uses Free-TDS which is an opensource project used to communicate to MSSQL. We have updated a blog about that MySQL Plugin, if you need help compiling it we could help you out.
See the following link for a short video and blog about the plugin
http://www.acentera.com/mysql-datacontroller/

There is a mysql client library driver for oracle:
https://docs.oracle.com/database/121/DRDAA/mysql_driver.htm
With regards to MySQL you may be able to use the FEDERATED MySQL storage engine
This may also be useful:
"The DataController project is being designed in order to facilitate and provide an easy database integration between MS SQL, Oracle and MySQL databases. It is being designed to provide real-time performant replication between mysql and other databases.. The code is originally derived from MySQL."
https://launchpad.net/datacontroller

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?

How can I convert SQL statements created using MySQL Workbench so it is compatible with Oracle

I have created an ERD on MySQL Workbench 6.0.8 CE and managed to export an automated SQL statement using the export option. How can I create a compatible SQL which can be used on Oracle?
Oracle Database and MySQL are normally suited to different use cases. But, if you want to convert the SQL statements created using MySQL workbench to a compatible Oracle SQL Developer, you can do it via a simple operation: Migration. In this case, you will migrate the whole schema. (which is a more recommended solution)
SQL Developer is a free and fully supported product that provides tools and utilities to migrate from MySQL to Oracle. Check here.
If you get stuck on a step, please give me a sign. I'll be pleased to help.
Hope it's useful!

Can a database built with MySQLi be migrated successfully to MySQL database? Is backward compatibility possible?

I am going to build a Joomla 3 website using CloudAccess.net and I have to select Database Type. Here, I have been given both options MySQLi and MySQL.
Later I may want to move my Joomla site to go4hosting Linux shared hosting. Their package offers MySQL (no mention of MySQLi).
If I choose MySQLi now with CloudAccess.net and later move to MySQL with go4hosting will it work?
Or, should I select MySQL at the start itself with CloudAccess.net?
My limitations are that I am not a programmer. I am a computer enthusiast and I have built my website using Microsoft Expression Web and planning to go for Joomla.
Thank you for your time and help.
Mysqli (Mysql improved) is only an inferface used by PHP to access a MySQL Database. The database itself is still a MySQL Database. This means, that you can access the same database both via the Mysql interface or via the Mysqli interface (or via other interfaces in other programming languages).
Wiki MySQLi entry

MySQL Query Painter

I have a client who is very used to the MS Access query tool. I am migrating all of his data into MySQL.
Any recommendations for a User Friendly query painter I could provide him to be able to paint up his queries rather than type up SQL code?
Why can't he just use Access with ODBC linked tables?
The usual answer for MySQL is phpMyAdmin, though. I use it for a number of websites I manage and I think it's quite nice as a management tool (though the querying tools are not nearly as well-developed as Access's).
MySQL has an official MySQL Workbench:
http://dev.mysql.com/downloads/tools/workbench/
From the docs:
MySQL Workbench provides DBAs and developers an integrated tools environment for:
Database Design & Modeling
SQL Development (replacing MySQL Query Browser)
Database Administration (replacing MySQL Administrator)
Database Migration

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.