programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
Programming FAQs

How to connect the mysql from command prompt

Average: 4.3 (3 votes)

we should know the

we should know the username/password and Host name of your mysql server

syntax

mysql -u USERNAME -h HOSTNAME -p

eg:

mysql -u sri -h localhost -p

it prompts for the password..enter the password..

done..