Create user APEX_030200 identified by ""

My first attempt to install APEX into a new Oracle11g database on Windows XP. I noticed the following error:
I. O R A C L E S Y S I N S T A L L P R O C E S S
...create flows user
create user APEX_030200 identified by ""
ERROR at line 1:
ORA-01741: illegal zero-length identifier
Why did the installation process not have an identifier? I tried to issue the same statement in sqlplus and got the same result.
Thanks for your help.

Hello Vernon,
You did run
@apexins tablespace_apex tablespace_files tablespace_temp images
Where:
* tablespace_apex is the name of the tablespace for the Oracle Application Express application user.
* tablespace_files is the name of the tablespace for the Oracle Application Express files user.
* tablespace_temp is the name of the temporary tablespace.
* images is the virtual directory for Oracle Application Express images. To support future Oracle Application Express upgrades, define the virtual image directory as /i/.
Example: @apexins SYSAUX SYSAUX TEMP /i/
And provided a password for the ADMIN user when the script asks for it?
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-)

Similar Messages

  • How to create user identified by OS!

    I know a command like :
    SQL> create user OPS$name identified by password;
    user created.
    here, user is already an OS user in my linux.
    But this don't work! I didn't get a user identified by Os.
    May somebody give any points?
    Thanks

    Specify EXTERNALLY to create an external user. Such a user must be authenticated by an external service (such as an operating system or a third-party service). In this case, Oracle to relies on the login authentication of the operating system to ensure that a specific operating system user has access to a specific database user.
    This example assumes that OS_AUTHENT_PREFIX = "" (in init.ora)
    CREATE USER os_user IDENTIFIED EXTERNALLY
    GRANT CONNECT to os_user
    To create another user accessible only by the operating system account os_user2, prefix os_user2 by the value of the initialization parameter OS_AUTHENT_PREFIX.
    For example, if this value is "ops$", you can create the user ops$os_user2 with the following statement
    CREATE USER ops$os_user2
    IDENTIFIED EXTERNALLY

  • 11g create user identified by values?

    In version 10g and under we could easily migrate users (including the password) from one database to another using:
    CREATE USER scott IDENTIFIED BY VALUES '{encrypted password}' ...blah, blah...
    What is the 11g equivalent of this command which would allow me to migrate users from one 11g database to another?
    Is datapump the ONLY option?

    Thanks to both, I did suspect spare4 was the encrypted password but what threw me off was the reference manual does not show the "BY VALUES" option in the "ALTER USER" syntax -- which actually what I needed. The users are already created and I want to synchronize the password with another db.
    ;)

  • Create user with dba privileges

    How do I create a user with DBA privileges in Oracle? The user should be able to create, insert, delete, truncate and other functions without any limits. Do I have to issue GRANT statements?

    Hi,
    I don't believe there's any way to create a user and grant privileges in one command.
    First, create the user:
    CREATE USER  foo  IDENTIFIED BY  bar;Then grant the privileges. There's a pre-defined role called DBA that has all the privileges you mentioned.
    GRANT  dba  TO  foo;It's easy to write a script to do these two commands together, so you could say
    @CREATE_USER  foo  bar  dba

  • How to create user in oracle 11 g

    Hi.
    i am new to oracle 11 g. i am learning for oragle 11g dummies pdf.i have some doubts about create user in that what is for identified by used in create user.
    eg: create user acme_own identified by acme_own2008 temporary tablespace temp, default tablespace user,
    in this what identified user is used and what it does.
    if anyone tell me it will be very helpfull.

    Hi;
    Please see below notes if you have still doubt please update thread:
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/users.htm#BABGIFFE
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_8003.htm
    http://www.adp-gmbh.ch/ora/sql/create_user.html
    Regard
    Helios

  • Create user/schema is script, then tables for that user/schema

    Hi;
    First off, if I phrase this a little wrong - I'm from the Sql Server world and still trying to totally understand Oracle.
    I have a schema (.sql file) that creates my database fine. But what I would liek to add to the .sql schema is for it to create a user and then place all the tables, indexes, sequences, and triggers in as belonging to that created user.
    This way we can tell people to log in as sysop and run the script to create the schema rather than create the user, log in as the user, then run the script.
    What do I need to add?
    thanks - dave

    Hi;
    I have tried:
    CREATE USER DAVE IDENTIFIED BY password;
    CONNECT DAVE/password AS SYSDBA
    I have also tried:
    CONNECT DAVE/password AS SYSTEM
    CONNECT DAVE AS SYSDBA
    CONNECT DAVE
    In all cases ApplicationExpress says it does not recognize the CONNECT command. Should I do something different? What I want to accomplish is that all subsequent commands in the script creating tables, indexes, etc are assigned to the user/schema DAVE.
    thanks - dave

  • Creating users

    i am working on a banking system ,the system is already done but i am doing some modifications to it, but i have note that incase they want to create a new customer to the bank they does not create a real user to the database (for example like scott) they add new row to a table named users , so is this a recommended way to create users or should we create a real users at the database such as (create user test identified by test) incase we want to create new customer, i have note find this method of creating users in all the system that i have been working on (they do not create real users).
    please advice.

    Yes I have come across to types of design:
    a) Users log onto an individual schema ie HR and all authentication/tracking is done in the application.
    b) A combination of the above but individual user accounts. The user logs into his own account ( scott is a bad example as he owns the tables ) but has been granted select/insert/update/delete to the HR tables either by a database role or explicitly.
    I am sure there are other scenario's in place which others might care to share.
    Imagine an organisation like Ebay or Amazon or even the bank you mention, how many Oracle Accounts would be needed ( each with its own potential schema ) and the headache of export/import whereas storing them in a table maintained by the application is more beneficial.

  • Creating user in forms

    I am trying to create a user from my forms. Everything seems alright as no error is generated when I run the form, but the user is not created. below is the code I am calling from a when_button_press trigger. Can anyone tell me what I am doing wrong.
    PROCEDURE Video_Shop_User(User_name IN VARCHAR2, pass_word IN VARCHAR2)
    IS
    BEGIN
    FORMS_DDL('CREATE USER '||user_name||'IDENTIFIED BY'||pass_word);
    FORMS_DDL('GRANT CREATE SESSION TO Video_Shop_Users');
    FORMS_DDL('GRANT CONNECT TO Video_Shop_Users');
    FORMS_DDL('GRANT RESOURCE TO Video_Shop_Users');
    FORMS_DDL('GRANT VIDEO_SHOP_USERS TO'||user_name);
    IF NOT FORM_SUCCESS THEN
    MESSAGE('Cannot Create A New User, Contact Your DBA');
    MESSAGE(' ');
    ELSE
    MESSAGE('New User Created');
    MESSAGE(' ');
    END IF;
    EXCEPTION
    WHEN VALUE_ERROR THEN
    DBMS_OUTPUT.PUT_LINE ('User Error Has Occurred');
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE ('Unknown Error Has Occured, Contact Your DBA');
    END Video_Shop_User;

    Hi,
    Be careful to let at least one space between words....
    For example in the first line you wrote:
    FORMS_DDL('CREATE USER '||user_name||'IDENTIFIED BY'||pass_word);
    But , you have to write:
    FORMS_DDL('CREATE USER '||user_name||' IDENTIFIED BY '||pass_word);
    Simon

  • Creating user using database link

    Hi
    I have 11g installed on one of the server
    I have created the database link BUGAU to bugau.us.oracle.com
    link works fine
    select * from table@"Bugau" gives the expected result
    I need run the below statement from my server using the dblink.but not sure how to use the dblink for this purpose.Please assit
    CREATE USER ABC IDENTIFIED BY welcome DEFAULT TABLESPACE USERS_001 TEMPORARY TABLESPACE temp123;
    GRANT DEFAULT TO abc;
    ALTER USER abc PROFILE LEVEL_1;
    Thanks
    Archana

    as mentioned in oracle documentation for db link purpose: you can use it for accessing schema objects in remote database..
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm
    >
    Use the CREATE DATABASE LINK statement to create a database link. A database link is a schema object in one database that enables you to access objects on another database. The other database need not be an Oracle Database system. However, to access non-Oracle systems you must use Oracle Heterogeneous Services.
    After you have created a database link, you can use it in SQL statements to refer to tables and views on the other database by appending @dblink to the table or view name. You can query a table or view on the other database with the SELECT statement. You can also access remote tables and views using any INSERT, UPDATE, DELETE, or LOCK TABLE statement.
    >
    For creating users, you have to login to the remote database itself, You also need to login using the user who has the necessary credentials to create the user.
    Regards,
    Dipali.

  • While creating USER

    WHile i am creating user ...by specifying default tablespace getting error like
    ERROR at line 1:
    ORA-02155: invalid DEFAULT tablespace identifier
    Eg : create user KPMC identified by A8FF0C6A4E43F429 default tablespace 'DSEC_D';
    Please tell me solution for this ...

    An external user is a user authenticated by the OS. Let's assume this scenario;
    1. An account is creatae at the OS Level, let's say ora01, this account can access oracle executable and can execute sqlplus and get a connection with a regular database user.
    2. Create an account at the database level with this syntax:
    create user ops$ora01 identified externally;
    3. Grant privileges to this newly created user:
    grant connect to ops$ora01;
    4. Connect from the os. Assuming an OS session has been started with the ora01 user, this user will just have to issue this:
    sqlplus /
    This user will get connected and authenticated as ops$ora01 at the database level.
    5. The OPS$ prefix can be established by means of the OS_AUTHENTICATION_PREFIX, which by default, and due to historical reasons has been defined as 'OPS$'
    6. There are other mechanism to authenticate an external user, for example the proxy user or the enterprise user, but these are topics that have to do with advanced security and whose references can be obtained from the oracle security manual.
    ~ Madrid

  • Create user not working!

    Hello Everybody:
    I am a beginner here. I was trying to create a user named turner, password as tur. I had following code.
    SQL> connect scott/tiger;
    Connected.
    SQL> CREATE USER turner IDENTIFIED BY tur;
    CREATE USER turner IDENTIFIED BY tur
    *ERROR at line 1:ORA-01031: insufficient privileges
    SQL>
    System did not like it. It says scott has insufficient privileges. How can I look what privilege does scott have?
    How can I add create user privileges to scott. Any response in this regards highly apprciated.
    Thanks. -Bal

    SQL>connect system/manager
    SQL>grant dba to scott
    So, scott can work as dba.
    Sys and system are the default database administrator users.
    Both users are created automatically when database is created.
    and They are granted the DBA role.
    Sys is owner of the database data dictionary.
    and his(her) password is change_on_install.
    System is owner of additional internal tables and views used by Oracle tool.
    Both sys and system are regual users, which are stored in the data dictionary.

  • Grant execute to newly created user upon user creation

    Hi
    I have a procedure test in schema of user1.
    I have to grant exec on this procedure to the new user upon creation of the new user.
    like upon
    create user USER1 identified by ....
    then USER1 should be able to execute user1.test after that
    in short every user created should have grant to execute this procedure.
    Please suggest.
    Thanks in Advance

    Hello, if you have a procedure in the schema of user1 then the user is user1, i.e., you cannot be creating a new user if user1 if user1 owns the test procedure.
    To grant execute for a user on a procedure, just run:
    GRANT EXECUTE ON user1.TEST TO <new_user>;If you want to allow every user to execute this procedure then run something like:
    BEGIN
      FOR cur_rec IN (SELECT username FROM ALL_USERS WHERE username NOT IN ('SYS','SYSTEM'))
        LOOP
          EXECUTE IMMEDIATE 'GRANT EXECUTE ON user1.test TO ' || cur_rec.username;
        END LOOP;
    END;
    /And that will grant execute on the procedure for all users.

  • Create user from oracle form builder 10g

    dear all,
    anyone to help me? I want to try, to create a new user from form builder oracle 10g in windows, I use a default script like 'create user user_name identified 123' in toad 9.0 for oracle and the result is success but when I try to combine with form builder oracle 10g this script doesn't work...I hope somebody can help me to solve my problem..
    thank you,,,
    Dedy Prasetyo T.

    Dear Francois,,
    I've tried the way you suggested and success. but how if I take the value of user_name and password from the data block to insert table dba_users ? would you like to help me?
    regard,
    Dedy P.T

  • Create user and session privilege

    Hi everyone. I connected to database as SYSTEM and created new user (Tom):
    CREATE USER Tom IDENTIFIED BY Tom
    Then using SQL Developer tried to connect to the database as Tom and got error, that Tom lacks CREATE SESSION privilege. How to give him it?

    You need to give a certain quota to that user, or that role. For example,
    ALTER USER <username> QUOTA UNLIMITED ON <tablespace_name>;
    You can also specifiy a set amount in place of the unlimited keyword.
    ALTER USER <username> QUOTA 500M ON <tablespace_name>;
    If you create a role, then assign the privileges to that role you can group your privileges together. When you create a new user just assign the role to the user. You can then just add privileges or remove them from the role and this will take affect for all the users that have that role.

  • Creating users in new 10g instance

    I am upgrading a production database from 8i on Win NT to 10g on linux. I want to create the production users from the 8i db on the new 10g database without having to have them reset their passwords. We want this to be a seemless migration for our end users. How can we go about this?

    Sounds like a full export and full import is what you're after, but in case you need to do a user level, you can do the before:
    in your 8i database, as internal or sys select:
    username, password, temporary tablespace, default tablespace from dba_users for each user
    system privs from dba_sys_privs for each user
    roles from dba_role_privs for each user
    something like:
    SQL>spool c:\somewhere\copyusers.sql
    SQL>select 'create user '||username||' identified by '|| password||' default tablespace '||default_tablespace||' temporary tablespace '||temporary_tablespace||';' from dba_users where username IN('list_of_users);
    SQL>spool off
    Or use whatever where clause you need to or none at all.
    then do similar for dba_sys_privs and sys_role_privs.
    or if you have the time you can join all three into one script.
    then run the scripts in the 10g database and you'll have your users. then you can do a user level import or whatever you need to do.
    US

Maybe you are looking for