Connect mysql DB from command line interface

  1.  Open terminal Ctr+Alt+T
  2. Enter following command
  3. sudo mysql -u root(username of your db) -p
  4. Press Enter
  5. Now it will ask for password
  6. Enter your database password
  7. Now your database connected

Thanks 🙂

  1. whoah this blog is great i love reading your posts.
    Keep up the good work! You realize, a lot of individuals are hunting around for this info, you can aid them greatly.

  2. all the time i used to read smaller content which as
    well clear their motive, and that is also happening with this
    paragraph which I am reading here.

Add Comment

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