MySQL Forums
Forum List  »  PHP

Re: 'Login without a password is forbidden by configuration'
Posted by: Rick James
Date: March 15, 2014 01:51PM

I don't know where AllowNoPassword is coming from. Suggest searching for
phpadmin allownopassword

Meanwhile, if you can get in from "terminal" as root, then
GRANT ALL ON *.* TO foo@"::1" IDENTIFIED BY "bar" WITH GRANT OPTION;
GRANT ALL ON *.* TO foo@"localhost" IDENTIFIED BY "bar" WITH GRANT OPTION;
GRANT ALL ON *.* TO foo@"127.0.0.1" IDENTIFIED BY "bar" WITH GRANT OPTION;

That will let user "foo" get in and have full privileges, but only from the local machine.

For applications, you should create other logins and don't give them full access.

Options: ReplyQuote


Subject
Written By
Posted
Re: 'Login without a password is forbidden by configuration'
March 15, 2014 01:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.