Monday, 29 March 2010

How to Connect to a MySQL database using putty?

Just a simple exercise for this one. At the command prompt, type
mysql -u username -p -- dbname

where username is the username associated with your MySQL database
and dbname is the database name.

You'll then be prompted for your password.
This prompt should then appear, indicating you are now connected to the database.

You'r Done.

Cheers!

4 comments:

  1. breifly explain how to connect mysql with php using putty

    ReplyDelete
  2. connect to mysql :
    type mysql -u username -p password

    ReplyDelete
  3. can you please tell the same for Oracle database through putty??

    ReplyDelete
  4. request me to please help me out on how to connect to Oracle database and ODBC using putty.. Please

    ReplyDelete