MySQL Forums
Forum List  »  Connector/C++

SQL via ssh
Posted by: Philipp Mitterrutzner
Date: August 30, 2021 04:40PM

Hi there,
how can i create a connection via ssh in c ++ in mysql?

It should work like this:
mysql -L -u <local database username> -h <database server ip address> -p

In any case, I would like to create the connection to the mysql database from a computer that is not in the same network and thus exchange data.

I just don't understand how I get the values ​​from mysql_real_connect (); should start.
Is there any other way that would work?

Options: ReplyQuote


Subject
Views
Written By
Posted
SQL via ssh
361
August 30, 2021 04:40PM
194
September 09, 2021 06:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.