PDA

View Full Version : Adding new users


trib4lmaniac
07-23-2004, 09:48 AM
I can't seem to add a new user to my database! I've tried it through phpMyAdmin (under privileges) and also running the query
GRANT ALL PRIVILEGES ON *.* TO 'myusername'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION

which returned no errors and according to phpMyAdmin the user is entered into the `users` table. But when I try to login with that name I get
Access denied for user: 'myusername@localhost' (Using password: YES)

So all I can use to login is 'root' with no password. Not very secure!

No idea what else to try :confused:

raf
07-23-2004, 11:04 AM
did you flush the privilkedges ?

check out
http://dev.mysql.com/doc/mysql/en/Access_denied.html

trib4lmaniac
07-23-2004, 07:35 PM
Yes :(

trib4lmaniac
07-23-2004, 08:56 PM
Ok, if i add a new user but do not give him a password i can logon fine! A user with a password cannot logon :confused:

trib4lmaniac
07-24-2004, 04:26 PM
No-one has any ideas on this!?

raf
07-25-2004, 10:15 AM
There's not much we can see about it.

Makes sure you go through the dow for creating a new user and folow all steps there.

trib4lmaniac
08-01-2004, 03:29 PM
* BUMP *

This still stands