Re: Can't connect with non-root user to created database
Posted by:
Rick James
Date: March 18, 2012 04:29PM
GRANT ... TO 'user'@'localhost' ...
GRANT ... TO 'user'@'client.host.name' ...
GRANT ... TO 'user'@'12.23.34.45' ...
GRANT ... TO 'user'@'%' ...
"localhost" is very restrictive -- it works only for the client and server being on the same machine.
A host name may not work if you have skip-resolve-name.
The IP address (of the client) almost always works.
'%' may be hidden by some other GRANT that is more 'specific'.
Subject
Written By
Posted
Re: Can't connect with non-root user to created database
March 18, 2012 04:29PM
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.