on 2014 Mar 31 11:34 AM
I need some help. I recently ran this grant command created database roundcube ran
grant ALL on roundcube to user1@"localhost" identified by "" with grant option;
Now any previous webpages that used user1 can not authenticate
Database error. could not connect to the database server (localhost,user1)
Any help is greatly appreciated.... Help.
what exactly changed?
Request clarification before answering.
When you specified identified by "" you changed the password for the user to be an empty string.
To fix your problem, do one of:
log into the database as DBA and change the users password back to what the client had been using. I.e. issue the statement (depending on version that you are using):
CREATE USER user1 IDENTIFIED BY "oldpassword";
or
ALTER USER user1 IDENTIFIED BY "oldpassword";
-
change the client connection string to specify an empty string. E.g. PWD=
-
do both of the above: give the user a new password by issuing the create or alter statement and change the connection string that the client is using to use the new password.
HTH
if the above does not help, then please provide more info:
- what version and build number are you using?
- what client are you using to generate the web pages, and what database API are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.