Saturday, April 3, 2010

connect mysql in command prompt

In linux open the terminal window

$>mysql -h localhost -u username -p
Enterpassword: yourpassword

mysql>

Note: you can give the password in the same line without space

like the below

$>mysql -h localhost -u username -pyourpassword

No comments:

Post a Comment