Hey please am using oracle 11g XE and I have created a new user under the username "amine" and set the password to "amine" in SQL developer, I have also granted all permissions and system privileges but when I try to create a new connection using the "amine" user it gives an ora-01017 even if the username and the password are correct Steps that I tried:
-- setting the case sensitivity to FALSE
-- make sure that the user is created and the status is open (using sqlplus)
-- tried the command: alter user amine identified by "amine"; result ---> ORA-01918: user 'AMINE' does not exist
I have created a new user under the username "amine"
It sounds like you have used the query:
CREATE USER "amine" IDENTIFIED BY "amine";
This will create a case-sensitive username and a case-sensitive password as you have surrounded the identifiers with double quotes.
If you try in SQL/Plus (or via equivalents in other UI such as SQL Developer's connection dialog) to use any one of these:
CONN amine/amine
CONN "amine"/amine
CONN amine/"amine"
Then it will fail as the unquoted values will be implicitly converted to upper-case as Oracle stores non-case-sensitive identifiers in upper-case.
You would always need to quote both the username and the password. Ie in SQL/Plus
CONN "amine"/"amine"
Or using quotes in the username field in SQL Developer.
You can check if you did this by running:
SELECT username
FROM all_users
WHERE UPPER(username) = 'AMINE';
If the value comes back as lower-case (or, even, if there are now two users amine
and AMINE
) then you created the first one with a case-sensitive username and you will need to surround the username with double quotes whenever you want to use it.
Such as:
GRANT CREATE SESSION TO "amine";
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.