Home > DeveloperSection > Interviews > How to do login in mysql with unix shell?

Posted on    February-13-2012 8:49 AM

 1 Answer(s)
  1481  View(s)
Rate this:

Arun Singh

Total Post:310

Posted on    February-13-2012 1:00 AM

Use following method to login in mysql with unix shell.
# [mysql dir]/bin/mysql -h hostname -u root -p pass

where,  root is user name and pass is password.

Don't want to miss updates? Please click the below button!

Follow MindStick