PDA

View Full Version : Telnet


Prince
Thu 25th Oct '01, 8:24pm
How do I use Telnet? :confused:

tubedogg
Thu 25th Oct '01, 8:35pm
First, download Putty from here (http://www.hostrocket.com/putty.exe). Once you have downloaded it, install it.

Run it. You will be presented with a configuration screen. In the 'host name' box, put in the domain name or IP address you are supposed to use to login via Telnet. It is usually your own domain name, and is also usually the same as your FTP server (except without the ftp. in front of it). If your host requires SSH (only they can tell you this), click that radio button. Type a name in the 'saved sessions' box and click Save. Click the session you just saved and click 'Load'. Then click Open. A screen will pop up after a couple seconds, and will provide some sort of way to login (it might say 'username' or 'login as' or something similar). Once in, you will see (probably) a line saying when you last logged in and a prompt of some sort, usually
bash$
This command prompt is where you will start.

Usually you will be logging in to run a query in MySQL. So, to enter MySQL, type
mysql -uyourusername -p yourdatabasename
and press Enter. You will be prompted for your MySQL password; type that and hit Enter. You are then in the MySQL client and will see this command prompt:
mysql>
Type your query at this line. Remember queries always end with a semi-colon (;)
To exit MySQL and return to the shell, type
exit;
To exit your Telnet session, just close the Putty window.