Solved

Login mysql with other user

Posted on 2014-11-17
5
190 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Fore-Foreword Today (2016) Maxmind has a new approach to the distribution of its data sets.  This article may be obsolete.  Instead of using the examples here, have a look at the MaxMind API (https://www.maxmind.com/en/geolite2-developer-package). …
I use MySQL for many of my development projects in a Windows environment. To manage my databases (and perform queries) for years I used a tool called MySQL administrator.  This tool has since been replaced by MySQL Workbench. So I decided to m…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

815 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now