Insight Horizon Media

Your source for trusted news, insights, and analysis on global events and trends.

How do I fix error ORA 01017?

ORA-01017 Solution There are a few ways to resolve the ORA-01017 error: Check the username and password are correct. Oracle 11g passwords are case sensitive, so ensure that your connection string caters for this. Check the database link setup if you’re using a database link.

How do I fix Ora 01034?

To resolve ORA-01034, be sure that the ORACLE_HOME and ORACLE_SID properly match within the files /etc/oratab or /var/opt/oracle/oratab . As a last step in solving your ORA-01034 problem and running DBUA, make sure that ORACLE_HOME is set to ‘old’ home, not ‘new’ home.

How can I change my Oracle username and password?

Method 1: Using SQL*Plus (command line tool)

  1. At the command line, enter sqlplus [email protected], where user is your user ID, and database is the specific database you are connecting to.
  2. Enter your current password.
  3. Once you have connected to the database, use the password command to change your database password.

How do I find my Oracle username and password?

To unlock and reset user account passwords using SQL*Plus:

  1. Start SQL*Plus and log in as the SYS user, connecting as SYSDBA: $ sqlplus /nolog SQL> CONNECT SYS/SYS_password AS SYSDBA.
  2. Enter a command similar to the following, where account is the user account that you want to unlock and password is the new password:

How do I start Oracle database in Linux?

On Windows: Click Start, point to Programs (or All Programs), point to Oracle Database 11g Express Edition, and then select Start Database. On Linux with Gnome: In the Applications menu, point to Oracle Database 11g Express Edition, and then select Start Database.

How do you resolve ORA-27101 shared memory realm does not exist?

Scenario 1: Invalid ORACLE_HOME and ORACLE_SID: ORA-27101 is usually due to the invalid ORACLE_HOME and ORACLE_SID parameters at OS level. You should investigate that ORACLE_HOME and ORACLE_SID are set correctly, and ORACLE_HOME should be without trailing slash.

How do I grant privileges to a user in Oracle?

How to Grant All Privileges to a User in Oracle

  1. CREATE USER super IDENTIFIED BY abcd1234; The super user created.
  2. GRANT ALL PRIVILEGES TO super;
  3. Enter user-name: [email protected] Enter password:
  4. SELECT * FROM session_privs ORDER BY privilege;
  5. GRANT ALL PRIVILEGES to alice;

How do I grant a directory privilege to a user in Oracle?

Create & grant permission to directory in Oracle

  1. Create directory in Oracle Database. Create directory dir_name as ‘D:\scripts’;
  2. Grant read write permission to Directory: –grant read permission.
  3. Revoke permission from directory. — revoke read permission.
  4. Modify path of directory.
  5. Drop the directory.

How do I change my username in Oracle?

SQL> ALTER USER {username} IDENTIFIED BY {newpassword};

  1. From the LifeKeeper GUI, right-click on the Oracle Database resource hierarchy, then select Change Username / Password.
  2. Input Username and select Next.
  3. Input Password and select Next.
  4. Select the database user role and click Apply.
  5. Select Done.

How do you fix Ora 28001 The password has expired?

1. open command prompt 2. type sqlplus 3.It will ask Enter Password, you can give old password, it will show password has expired ORA-28001 4.It will ask new password and retype password 5.It will change with new password 6. Go to the sql database and try to connect with new password, it will connect.