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