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

Posted on    February-13-2012 8:49 AM

 MYSQL MYSQL 
Ratings:
 1 Answer(s)
  1323  View(s)
Rate this:

Arun Singh

Total Post:310

Points:1550
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