Page 1 of 1

Connection via SSH with C++Builder

Posted: Tue 26 Jan 2021 16:17
by moppelstroppel
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

Re: Connection via SSH with C++Builder

Posted: Fri 29 Jan 2021 09:41
by moppelstroppel
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

Re: Connection via SSH with C++Builder

Posted: Fri 29 Jan 2021 10:18
by ViktorV
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.

Re: Connection via SSH with C++Builder

Posted: Sun 31 Jan 2021 17:31
by moppelstroppel
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

Re: Connection via SSH with C++Builder

Posted: Wed 03 Feb 2021 14:19
by ViktorV
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.

Re: Connection via SSH with C++Builder

Posted: Wed 03 Feb 2021 16:31
by moppelstroppel
Hi Victor,

it is not working
see

www.cratemaker.de/Download/DevArtErr01.jpg

I need this also for C++Builder 10.3

Thanks
Thomas

Re: Connection via SSH with C++Builder

Posted: Fri 05 Feb 2021 08:07
by moppelstroppel
Hi Victor,

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

Thanks
Thomas

Re: Connection via SSH with C++Builder

Posted: Mon 08 Feb 2021 08:38
by ViktorV
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.