?
Solved

Login mysql with other user

Posted on 2014-11-17
5
Medium Priority
?
196 Views
Last Modified: 2014-11-18
After installing WAMP server and start the MySQL, it always ask for root password.

How to configure the MySQL console such that always user name and password is asked ?

How to test whether a new created user can access a particular database through the console ?

Tks
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 36

Expert Comment

by:Kimputer
ID: 40449296
use the commandline
mysql -u user -p (enter)

Now you can type the password of the user called "user".
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40449313
To use the command line on the same machine as the MySQL server, a user must be created with a 'localhost' connection.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 40449315
0
 

Author Closing Comment

by:AXISHK
ID: 40449571
Tks
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40450628
You're welcome.
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question