Hi there,
I am currenly consuming MySQL remote servers allocated in AWS by using "link servers - odbc" approach from my Middleware SQL Server.
This is an example, from my stored procedure I call my link server this way:
(NEW2 represents a Link Server name that uses an underlying mysql odbc driver) So far so good.
Set @SqlCommand=';WITH SRC AS(
SELECT * from OPENQUERY(NEW2,''SELECT s.invoice_no AS purchaseid
, IFNULL(s.customer_id, ''''JP99999998'''') AS consumerid
, NULL AS membership_id
, 0 AS isemployeesale
Now i would need to connect to other MySQL using Tcp/Ip over SSH
I can connect by using MySql workbench manually from my laptop. I am just wondering how to consume this connection from one of my stored procedures in the server....
Here you have the properties of my connection...
Any example about that would be greatly appreciated? My assumption is I need to use a SSH client at first.
Thanks a lot,