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!

5 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

  5. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here.
    Kindly keep blogging. If anyone wants to become a Front end developer learn from javascript and jquery training in chennai .
    or learn thru Javascript Training in Chennai.
    Nowadays JavaScript has tons of job opportunities on various vertical industry. javascript and jquery training in chennai

    ReplyDelete