I have created a user Sam with password mypass for my database db.
How to login with this user.
I want to check the privileges privided to this user.
I am using MYSQL 5.5
i am using windows 7. mysql command line.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Logging in is as simple as:
You should then be prompted for your password. At this point, you’d either have to select a database to do operations on it or you could check your grants in general.
Checking user privileges is as simple as:
I would highly recommend reading MySQL :: Getting Started with MySQL.