If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > How to connect remote MySQL in windows

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-05-04, 00:17
rahuul rahuul is offline
Registered User
 
Join Date: Oct 2004
Posts: 3
How to connect remote MySQL in windows

hi,

I am a newbie in MySQL. I installed mySQL 5.01 in two windows(one XP another win 2003) system. How do I connect these databases remotely? I downloaded PuTTY and tried to configure something, but I could not. Can somebody tell me the steps to connect a database remotely?

Thanks for reading.

Rahuul
Reply With Quote
  #2 (permalink)  
Old 11-07-04, 06:03
Daniel_Johns Daniel_Johns is offline
Registered User
 
Join Date: Jul 2004
Posts: 69
hi! better read some "help" on mysql site. here's the link.

http://www.mysql.com/search/?q=conne...set=iso-8859-1
Reply With Quote
  #3 (permalink)  
Old 11-08-04, 04:16
rahuul rahuul is offline
Registered User
 
Join Date: Oct 2004
Posts: 3
hi,

These are the listed steps that is mentioned in mySQL site. I have few doubts in these also.

Here is a note about how to connect to get a secure connection to remote MySQL server with SSH (by David Carlson dcarlson@mplcomm.com):

1. Install an SSH client on your Windows machine. As a user, the best non-free one I've found is from SecureCRT from http://www.vandyke.com/. Another option is f-secure from http://www.f-secure.com/. You can also find some free ones on Google at http://directory.google.com/Top/Comp...ients/Windows/.
2. Start your Windows SSH client. Set Host_Name = yourmysqlserver_URL_or_IP. Set userid=your_userid to log in to your server. This userid value may not be the same as the username of your MySQL account.
Is this userid means windows login id (network id) or MySQL user id?

3. Set up port forwarding. Either do a remote forward (Set local_port: 3306, remote_host: yourmysqlservername_or_ip, remote_port: 3306 ) or a local forward (Set port: 3306, host: localhost, remote port: 3306).
4. Save everything, otherwise you'll have to redo it the next time.
5. Log in to your server with the SSH session you just created.
6. On your Windows machine, start some ODBC application (such as Access).
7. Create a new file in Windows and link to MySQL using the ODBC driver the same way you normally do, except type in localhost for the MySQL host server, not yourmysqlservername.

You should now have an ODBC connection to MySQL, encrypted using SSH.

Thanks for reading.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On