Connection via SSH with C++Builder

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
moppelstroppel
Posts: 19
Joined: Sat 25 Aug 2018 08:09

Connection via SSH with C++Builder

Post by moppelstroppel » Tue 26 Jan 2021 16:17

Hi support,

I tried to connect to a database via SSH.
But I was only able to established a SSH conection but could not reach the databse.

I checked your demos but all are in delphi or a not working C++ Builder project.
I noticed that I have to use the TMySSHIOhandler but this I didn't found. In the help topic I also didn't find anything.

I have the hostname, user and password for the SSH Server and the
user and password for the MySQL database.

How can I connect to the database?

Thanks
Thomas

moppelstroppel
Posts: 19
Joined: Sat 25 Aug 2018 08:09

Re: Connection via SSH with C++Builder

Post by moppelstroppel » Fri 29 Jan 2021 09:41

Hi support,

any news for me?
I bought the secure bridge and need this functionality.
Otherwise I don't need other funcionality - right now.


Thanks
Thomas

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Connection via SSH with C++Builder

Post by ViktorV » Fri 29 Jan 2021 10:18

To solve the issue you must have both MyDAC and SecureBridge installed.
The TMySSHIOHandler component is located in the mydacsbridge package. This package comes with MyDAC, not with SecureBridge, and is included in the MyDAC demos. See the package installation instructions in the file "%MyDACDemos%\TechnologySpecific\SecureBridge\Readme.html", where %MyDACDemos% is the MyDAC Demo projects installation path on your computer.
After successfully compiling and installing the mydacsbridge package, you should see the TMySSHIOHandler component in the MyDAC palette.

moppelstroppel
Posts: 19
Joined: Sat 25 Aug 2018 08:09

Re: Connection via SSH with C++Builder

Post by moppelstroppel » Sun 31 Jan 2021 17:31

Hi Viktor,

in the HTML file is written I have to use mydacsbridgeXX.bpk for C++Builder
I have only this directory
C:\Components\DevArt\MyDAC10_4\Demos\TechnologySpecific\SecureBridge\Delphi27

But there is no bpk file located.

I have installed all options.

Thanks
Thomas

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Connection via SSH with C++Builder

Post by ViktorV » Wed 03 Feb 2021 14:19

At the moment mydacsbridgeXX.bpk is only available for C ++ Builder 6, the rest of the mydacsbridgeXXX package exists only for Delphi.
We'll consider adding the mydacsbridgeXXX package for C++ Builder.
You can download the alpha version of the mydacsbridge270 package for C++ Builder at https://download.devart.com/dac/CBuilder27.zip To compile the product, place the CBuilder26 folder in %MyDACDemos%\TechnologySpecific\SecureBridge\.
Please try installing it and let us know the result.

moppelstroppel
Posts: 19
Joined: Sat 25 Aug 2018 08:09

Re: Connection via SSH with C++Builder

Post by moppelstroppel » Wed 03 Feb 2021 16:31

Hi Victor,

it is not working
see

www.cratemaker.de/Download/DevArtErr01.jpg

I need this also for C++Builder 10.3

Thanks
Thomas

moppelstroppel
Posts: 19
Joined: Sat 25 Aug 2018 08:09

Re: Connection via SSH with C++Builder

Post by moppelstroppel » Fri 05 Feb 2021 08:07

Hi Victor,

do you need more information or only more time?
My customer asked me for finishing the connection to the DB :-)

Thanks
Thomas

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Connection via SSH with C++Builder

Post by ViktorV » Mon 08 Feb 2021 08:38

Sorry for the delayed reply.
Due to the peculiarities of the C ++ Builder compiler, at the moment the alpha version of the mydacsbridge270 package for C ++ Builder works correctly only on the Windows 32 platform. If you need support for specific platforms, please indicate them using contact form https://devart.com/company/contactform.html, and we will try to support them first.

Post Reply