Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

SQL via ssh (no replies)

$
0
0
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?

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>