Command line connection with custom parameters

Vlaour's profile image Vlaour posted 2 months ago in Creating a connection Permalink

Hello,

I try to create a connection in command line to connect to a MYSQL database.

To access the database server with SSH I have to connect to a first server, auth myself then select one of the servers my client own to access it, an alternative way is to give 2 additionnal parameters to the ssh command line to select the serveur I want to access and a auth token.

Something like that :

ssh -t "login@host.com" TARGET_SERVER:TOKEN

How can I pass the 2 parameters to HeidiSQL ? For the moment I have :

heidisql.exe -n=2 -h="HOST" -P=22 -u="USER" -p=PASSWORD

Is there a way to give custom parameters ?

have a nice day

Valentin

ansgar's profile image ansgar posted 2 months ago Permalink

No, there is no way to provide arguments which HeidiSQL then passes to the ssh command.

Vlaour's profile image Vlaour posted 2 months ago Permalink

Thanks for your answer :)

Please login to leave a reply, or register at first.