MySQL Forums
Forum List  »  Newbie

Re: How to log into the mysql through MS DOS Prompt
Posted by: Sanjay Kaushik
Date: August 04, 2005 12:02PM

Try
1)
mysql -u root -p
Enter password: yourpassword

or
2)
mysql -u root -p'yourpassword'

If you look carefully in the second way you provide the password on the same line and is easily viewable by anyone passing by so it is not recommended.

Hope this helps.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to log into the mysql through MS DOS Prompt
August 04, 2005 12:02PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.