Solved

Login mysql with other user

Posted on 2014-11-17
5
191 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
  • 3
5 Comments
 
LVL 35

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 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (http://dev.mysql.com/doc/refm…
As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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