|
|||||||||||
|
mysql user password funkyness
From: B. Keith Murphy <kmurphy(at)icontact.com>
Date: Wed Sep 26 2007 - 22:39:17 EDT
So I have never seen this before. I set up a database yesterday. I added a user today in the normal manner.. ie grant usage on *.* to 'username'@'%' identified by 'password'; Here is the thing. You exit the console and try to log in with mysql -u username -ppassword and it won't let you in... BUT it log in with both "mysql -u username" and also "mysql -u username -p (hit enter key)". So the user account works without a password. executing the show grants command shows a password so this shouldn't work. Never had this problem before and kind of hard to google for "mysql user login without password but has password"..
show grants for 'user'@'%';
thanks, Keith -- B. Keith Murphy Database Administrator iContact 2635 Meridian Parkway, 2nd Floor Durham, North Carolina 27713 blog: http://blog.paragon-cs.com (o) 919-433-0786 (c) 850-637-3877Received on Wed Sep 26 22:40:31 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:12:23 EDT |
||||||||||
|
|||||||||||