Connection mydac - ssh - mysql
Posted: Mon 27 Nov 2006 23:27
Hellow!
First I say sorry for my bad english!!
I need your help, I am going to say what is hapenning...
I need to connect mysql with mydac components, but I need to do it with ssh.
I read the following about mydac components:
MyDAC allows to use such encrypted connections in your applications.
To setup connection with SSH you need:
· Install and configure SSH server such as OpenSSH from
www.openssh.com
· Install SSH client;
· Set connection with port forwarding.
If you use OpenSSH client you should execute following command:
ssh.exe -L 3306::3306 ;
Now your connection to localhost:3306 used by MyDAC is encrypted.
Security Considerations with Port Forwarding
Now, my questions:
1. Ssh client can be putty? Because with putty, I can see my database, but I don´t know how can connect it with delphi or with mydac components.
2. How can I set connection with port forwarding.
Please, I want to learn about it, if you have some internet page, or tutorial, anyone that I can read.
For your help thank you!!!
First I say sorry for my bad english!!
I need your help, I am going to say what is hapenning...
I need to connect mysql with mydac components, but I need to do it with ssh.
I read the following about mydac components:
MyDAC allows to use such encrypted connections in your applications.
To setup connection with SSH you need:
· Install and configure SSH server such as OpenSSH from
www.openssh.com
· Install SSH client;
· Set connection with port forwarding.
If you use OpenSSH client you should execute following command:
ssh.exe -L 3306::3306 ;
Now your connection to localhost:3306 used by MyDAC is encrypted.
Security Considerations with Port Forwarding
Now, my questions:
1. Ssh client can be putty? Because with putty, I can see my database, but I don´t know how can connect it with delphi or with mydac components.
2. How can I set connection with port forwarding.
Please, I want to learn about it, if you have some internet page, or tutorial, anyone that I can read.
For your help thank you!!!