win mysql server remote access question
test_tube_tony
Dallas TX Member
i'm running a mysql server on a win2k3 box. kinda would like to know how to remotely access the server from another computer on the lan via command prompt. been looking online, but its all linux info. anyone care to point me in the right direction?
0
Comments
yea. where do i find the client. isnt there some way to use the cmd prompt to do this? what exactly does ODBC do anyway? i know if i had installed this on linux i could just ssh into it, but im the idiot that uses windows for this sort of stuff lol
This is absolutely correct - if you are physically on the machine. It doesn't work remotely.
Now I guess you could install mysql on the remote machine but target the server that exists on the target machine. No reason that won't work.
ODBC stands for something (can't remember to lazy to look) but basically it's a pluggin for windows that allows you to attach various databases and use them universally in windows programs like excel, access, IIS, OpenOffice etc... You map the database in the ODBC mapper then the various programs talk to the ODBC mapper. This however still won't help you at the cmd prompt.
Is there a real need to access it through the cmd prompt or do you just need remote access to it. There are programs to administer mysql remotely through a windows machine, they are free just go to the main mysql website all the tools are there.
Download and run a freeware SSH daemon on your server:
http://www.freesshd.com/?ctt=overview
Connect to said server using popular freeware command line SSH client "putty"
http://www.chiark.greenend.org.uk/~sgtatham/putty/
Log in and voila. Remote command line securely to your server, and then you can just type your MySQL commands like you would if you were sitting at it.
well, that sorta worked for a while. i cant log in to it anymore lol. only thing i didnt like was the fact that i couldnt scroll back. is there some adjustment for that?
It probably won't let you login because someone has kicked your user session off. Just log back onto Windows and restart the daemon