how to connect mysql from command prompt

First open command prompt :
write command :  mysql -u username -p database_name
and press enter key
and enter  password of mysql

Or

write a command : mysql –user=username  –password=password


Comments

One response to “how to connect mysql from command prompt”

  1. Jenish Dhimmar Avatar
    Jenish Dhimmar

    Sir please contact me I need your help.

    Sent from Yahoo Mail on Android

    From:”Help on PHP” Date:Tue, May 19, 2015 at 3:07 PM Subject:[New post] how to connect mysql from command prompt

    darshakkumar posted: “First open command prompt : write command :  mysql -u username -p database_name and press enter key and enter  password of mysql Or write a command : mysql –user=username  –password=password”

Leave a Reply

Your email address will not be published. Required fields are marked *