Data Management Gateway connecting to MySQL - mysql

In my scenario, I do need to read data from a MySql database by Azure Data Factory. On a dedicated azure VM (Windows Server 2016), I have installed the Data Management Gateway 64bit. Before connecting to MySql I have to install the MySQL driver. Unfortunately there is no 64bit .NET MySql driver. So I decided to install the 32bit version of the Gateway instead. In this case the installer however terminated the installation, because of the 64 bit environment.
I am just wondering, if there is an option how to read data by Data Factory from the MySQL database, with a gateway installed on Azure VM.

There is 64-bit MySQL driver. You can find the link of supported driver from here: https://learn.microsoft.com/en-us/azure/data-factory/data-factory-onprem-mysql-connector

Related

CentOS MariaDB Enterprise Edition Remote Access

I am working on cleansing and optimizing the WordPress performance because of the overload. So I am moving database as a server and the webserver separately. I have installed MariaDB 10.6 enterprise edition in CentOS 7.9 and created the database.
I can access over SSH, but when I do connect from the public IP and the port, it doesn't working.
Anyone having Idea about the remote access of MariaDB Enterprise database.
Thanks in Advance

Azure Managed SQL - ODBC Drivers

I have an Azure Managed SQL instance that I would like to use to connect to a MySQL server via a linked server used ODBC. I have tried and this keeps telling me I do not have the driver installed or the data source doesn't exist.
Is this because it expects this to be installed on the Azure machine hosting the server? I have seen mentions of people setting up an Azure VM to connect to the machine and install drivers / setup ODBC. Is this correct?
Can someone please either tell me how to connect to ODBC using DSN from my PC, or confirm if the error is due to the VM requirement
For reference, I have followed numerous guides and still have the same issue
Thanks in advance

Issue connecting to MySql Service from Virtual Machine in Azure China

I have a Microsoft Azure account in China, in which there is a Virtual Machine and a "mysql database on azure" service set up.
I can RDP onto the VM from my development PC (in the UK) and I can connect to the MySql database from my development PC. However, I cannot connect to the MySql database from the Azure VM.
When attempting to connect using MySql Workbench, I get the following error:
"SSL connection error: socket layer receive error"
I have checked the configuration of the VM and of the MySql server and everything looks correct. Any ideas?
We have now resolved this. In case anyone comes across a similar problem, the issue is with the version of MySql Workbench we were using.
Hosted MySql in Azure China works with MySql Workbench 6.2, but does not work with 6.3.

IBM Worklight database connection

I have installed Worklight Server and with DB2 database, and now I try to migrate an application that has a MySQL database which is obviously not working. Is there any workaround? Do I have to use an adapter to interface the DB2 and MySQL?
A database usually requires a connector driver in order to interface with it.
Had you used the IBM Installation Manager to install Worklight with DB2 database (available to IBM Worklight customers, are you one?), it would require you to supply such a driver, so I will assume - since you did not provide any information on your environment setup - that you are using the Development Edition (Eclipse + Worklight Studio plug-in).
In this case you need to edit the worklight.properties file (can be found in Eclipse under yourProject\server\conf).
Change the database type to DB2 (ucomment it) and supply the required information based on your environment.
The DB2 connector can be download through this page. Get the correct version for your installation of DB2.
Place the driver in the lib folder (can be found in Eclipse under yourProject\server).
If you are in fact using Liberty or WebSphere, see this troubleshooting section with installation instructions for DB2 and more.

Portable ODBC connection driver

Is there any availability to make MySQL ODBC connection driver portable? I develop an application which uses MySQL ODBC ocnnection driver with TADOConnection and everything is working properly on developer's machine, there ODBC connection driver is installed. When I run this application on another machine (no ODBC driver installed) an error raises. Is there any opportunity to include necessary libs to program and make the project independent?
You can bundle the MySQL ODBC driver with your installer (http://dev.mysql.com/doc/refman/5.1/en/connector-odbc-installation-binary-windows.html), but remember that if you're using the free GPL connector you're bound to the GPL, thereby or you release your application (and code) under the GPL as well, or you're violating the MySQL GPL license. To avoid it, you can always buy a commercial license.
ODBC needs a driver since it is an API abstraction over existing database access libraries - see How to explain why ODBC requires a database driver
Since there is no standard way of installing a database driver, you'll have to rely on the driver instructions, which are specific.
For MySQL, if you launch setup -r it would install the ODBC provider silently.
The follow these steps to add your database connection: create mysql odbc connection through batch script