12 c to Oracle & SQL Developer 4.1.2 (Windows 8.1): problems of creating user

After...

  • installing Oracle 12 c
  • decompression SQL development 4.1.2
  • by clicking on "sqldeveloper.exe".

... I am able to create a new connection:

Connect.PNG

Then, I'm supposed to create a new user. (Just FYI: it comes from an old assignment which I finally finished by using MS SQL Server.) But I'm still confused what I did wrong here...) My instructions everything first, run me the following command (as far as I can tell to create the user in the corresponding container):

AlterSession.PNG

Problem: After having successfully performed this command, other actions involving the connection causes the following error message:

error.PNG

After spending hours reinstalling Oracle and try different things (inspired by manuals and online forums) that never significantly improved situation, any kind of help are much appreciated!

The exception is indicative that the PDB is NOT open.

A "start" command does NOT open all of the default Database. When you first installed 12 c and created a sample DB installation process open. You likely judgment of the DB and pc - then you started the pc and the DB started automatically but then ONLY the root/CBD is started.

You logged in as SYS to the root/CBD and together the container to the PDB but the PDB is not open.

Multitenant has MANY differences from earlier versions and you just stumbled upon one of them. You have two options

1. create a trigger AFTER STARTING that opens the PDB files to automatically open

2 open the PDB manually - "ALTER PLUGGABLE DATABASE ALL OPEN;"

I answered SEVERAL times in the multitenant forum answering the same basic issue. See for example my answers in this thread

Re: creating new users in oracle 12 c

Now for the advice, that no one ever seems 1) want to hear, 2) take seriously or 3) actually do.

RTFM - with 12 multitenant c, that you will continue to have similar problems, until you read and understand the multi-tenant architecture.

I recommend you first read chapters 17 and 18 of the doc of Concepts on the new 12 c multitenancy.

http://docs.Oracle.com/CD/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ

There are 3 or 4 relevant threads in the forum shared that have chunks of that info. So if you want you can read these threads, my answers and links I provide still other threads:

12 c: ORA-65049: creating local user or role is not permitted in the CBD$ ROOT

Re: Configuration of an oracle connection 12 c

Re: creating new users in oracle 12 c

Tags: Database

Similar Questions

  • Oracle SQL Developer Data Modeler start error

    Hi all

    I just downloaded Oracle SQL Developer Data Modeling (2.0.0.57.0) [released July 1, 2009] by selecting the option ' Oracle SQL Developer Data Modeler for Windows (this zip file contains the JRE).

    After that I installed the same and tried to start clicking on datamodeler.exe, I get the following error message

    "Failed to create an instance of the JVM on the path:... \jdk\jre\bin\client\jvm.dll.

    On the same machine, I can successfully run the SQL Oracle program without error. My machine is having Windows XP Professional SP3.

    Any ideas? If there is a problem with Java, that of the Oracle SQL Developer should also not run. But as I said it runs with any error, but the Oracle SQL Developer Data Modeler gives the above error.

    Kind regards

    JAA149

    Hey Jawad,

    you wrote you have 960 MB of RAM - how did you do a test with 1.5 MB of RAM and 2 MB of RAM?
    No doubt this is a problem of memory - memory change in the datamodeler.conf file option:
    -There 'AddVMOption-Xmx768M"by default; to take
    -"AddVMOption-Xmx512M" or never, making it suitable for your configuration - you can check the available free memory first.

    Philippe

  • A question about the Oracle SQL Developer Oracle instance connection

    Hi all

    I would be grateful if you could kindly give me a helping hand.

    Recently, I installed the Oracle 11 g on Linux (ubuntu 8.10) database. I not create startup scripts. So here's how I start the server: (my linux user name is "dariyoosh", but in order to start the server I have connection on the terminal shell as user 'oracle')
    dariyoosh@alborz:~$ su oracle
    Password: 
    oracle@alborz:/home/dariyoosh$ cd
    oracle@alborz:~$ ORACLE_SID=database01
    oracle@alborz:~$ . oraenv
    ORACLE_SID = [database01] ? 
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 is /u01/app/oracle
    oracle@alborz:~$ sqlplus '/as sysdba'
    ...
    SQL> STARTUP NOMOUNT
    ORACLE instance started.
    ...
    SQL> ALTER DATABASE MOUNT;
    ...
    SQL> ALTER DATABASE OPEN;
    
    Database altered.
    Then I can work without any problems with my database and everything works pretty well. Today, I decided to install Oracle SQL Developer IDE as it makes it easier to modify the SQL code. My problem is that after reading the tutorial Oracle online, that I am still able to connect to my database. Firstly according to the method that I wrote, I have set up the Oracle instance. But then when I run Oracle SQL Developer I don't know what to choose for the user name and password? because since SQL * Plus shell as you can see I always write: "sqlplus 'virtue sysdba' and it does not prompt me for any password, I can access the database directly." Any idea? What password? What user name? for Oracle SQL Developer?

    Thanks in advance.

    When you connect "/ as sysdba", you actually connect as the user named SYS from the privileges of your operating system. SYS is the owner of the database and a privileged user. You really want to use this username for the day to day operations, but only for what can do only SYS. If you need a different user name. Several Oracle databases have a user named SCOTT who has a number of tables for use tutorial. By default, the password for SCOTT's "Tiger." You may also have other demo users, such as "HR". I admit that I forgot what is the password of the HR, but it doesn't really matter because SYS can change with this command:

    ALTER USER hr IDENTIFIED BY whateveryouwant;
    

    This command:

    SELECT USERNAME FROM ALL_USERS;
    

    lists all the users in your database. Understand that many of these users are there as owners of objects such as stored procedures and tables for Application Express, or TYPEs for Oracle Locator, not for general use. When you are ready to create your own objects, ask SYS create a username for them with

    CREATE USER myusername IDENTIFIED BY mypassword;
    

    and grant that user the privileges as necessary. You'll want to read before you get too far - I think that the developer of the Application Guide is a good starting point.

  • Oracle SQL Developer to the database unifying connection

    Hello community!

    I am developing a SQL string that will pull data from various processes of cost (i plan to wrap the dataview object in a cube and publish a dashboard after that). I was wondering if there is any way to connect oracle SQL Developer for oracle hosted instance unify to create code more efficiently? If so, explain the steps for me please?

    I can get the following information of Oracle BI Publisher, see Exhibit A.

    I have to fill in the fields in Appendix B and this is where I don't know how to do this, see Exhibit B.

    Your help is highly appreciated

    Concerning

    Amir

    Hi Amir - there is currently no way to directly connect to the DB for unifying hosted environments. We are currently working on this issue.

    In the meantime, you can use the SQL Editor in your BI Publisher server interface. You build instructions SQL can then be pasted in via data in unifying views.

  • Why is-menu Oracle SQL Developer navigation so slow?

    For example if I click Tools, it takes like 5 seconds to open.

    The cursor icon taking also like 2-3 seconds to next day where it is.

    Oracle SQL Developer has impressive features, but I can't use it like that.

    Can anyone help or point in a direction?

    It's a nice machine but I remote desktop to it, but the rest of the applications are working fine.

    #added it

    AddVMOption - Dsun.java2d.noddraw = true

    AddVMOption - Dsun.java2d.ddoffscreen = false

    looks a bit better

  • Partitions don't synchronize only not - Oracle SQL Developer 4.1.3.20

    Hello

    First of all, thanks a lot for developers for this great tool.

    I use the Data Modeler which comes with Oracle SQL Developer 4.1.3.20.

    In the 12 c database, I created the following table:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10

    LOGGING NOCOMPRESS NO INMEMORY

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    I import with Data Modeler and add the partition:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10 TABLESPACE SYSTEM NOT LOGGING NOCOMPRESS NO INMEMORY RANGE PARTITION

    (

    DATE_TEST_TABLE

    )

    INTERVAL OF

    (

    NUMTOYMINTERVAL (1, 'MONTH')

    )

    (

    PARTITION P_BEFORE_2010 VALUES LESS THAN (TO_DATE (JANUARY 1, 2010 ',' DD/MM/YYYY "")) NOCOMPRESS

    )

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    So I can create a partition and generates the correct code.

    I click on "Synchronize data dictionary with model" and see the differences with the model and the database.

    In the models 'compare', 'Physical Details' is red. 'Partition' is red, "Selected" are marked, "Source table: TEST_TABLE ' is YES and" target Table: TEST_TABLE "is no.

    "Partitioning" is marked, and I can see the new partition "P_BEFORE_2010."

    teste_partition_chamado_oracle.png

    But when I click on 'Overview of DOF', theres no changes:

    -Generated by Oracle SQL Developer Data Modeler 4.1.3.901

    -in: 2016-01-14 14:19:50 BRST

    -site: database Oracle 12 c

    -type: Oracle Database 12 c

    -Oracle SQL Developer Data Model Summary Report:

    --

    -CREATE TABLE 0

    -CREATION OF INDEX 0

    ...

    ...

    In the tool preferences, model, synchronization, it is marked:

    FUNCTION

    PACKAGE

    PROCEDURE

    ROLE

    SEQUENCE

    SYNONYM

    TABLESPACE

    In "Import Options", it is marked:

    Partitions

    Triggered

    What I am doing wrong? Is this some sort of bug?

    Hi Marcio,

    I'm afraid that data Modeler does not "DOF Preview" statements for changes in the distribution.

    Kind regards

    David

  • SEVERE: Exception initialization 'oracle.dbtools.crest.fcp.DataModelerAddin' extension ' Oracle SQL Developer Data Modeling

    After some testing today with a new installation and plugin subversion in the latest edition of data Modeler this error happens with every start of the tool.

    Have removed and unzipped the installation once again without changing the error.

    After that, I started with another user on my computer, it the error does not occur.

    Is there a system folder to remove the configuration of my personal like jdeveloper and sql developer?

    I lose the most important features, for example. have no browser and cannot open a design.

    Here is the full error stack:

    29 may 2015 22:17:40 oracle.ideimpl.extension.AddinManagerImpl

    SEVERE: Exception initialization 'oracle.dbtools.crest.fcp.DataModelerAddin' extension ' Oracle SQL Developer Data Modeling

    java.lang.NullPointerException

    at oracle.dbtools.crest.swingui.editor.UDPLibrariesPersistence.load(UDPLibrariesPersistence.java:220)

    at oracle.dbtools.crest.model.design.DesignSet.createElement(DesignSet.java:56)

    at oracle.dbtools.crest.swingui.ApplicationView.addDesign(ApplicationView.java:2497)

    to oracle.dbtools.crest.swingui.ApplicationView. < init > (ApplicationView.java:435)

    to oracle.dbtools.crest.swingui.ApplicationView. < init > (ApplicationView.java:389)

    at oracle.dbtools.crest.swingui.ApplicationView.getInstance(ApplicationView.java:2258)

    at oracle.dbtools.crest.fcp.DataModelerAddin.initialize(DataModelerAddin.java:553)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:496)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:483)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:299)

    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:160)

    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:143)

    at oracle.ide.IdeCore.initProductAndUserAddinsAndActionRegistry(IdeCore.java:2294)

    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1817)

    at oracle.ide.Ide.startup(Ide.java:772)

    at oracle.ide.osgi.Activator.start(Activator.java:209)

    to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)

    at java.security.AccessController.doPrivileged (Native Method)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)

    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)

    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)

    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)

    at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)

    at org.netbeans.core.netigso.Netigso.start(Netigso.java:191)

    at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:209)

    at org.netbeans.ModuleManager.enable(ModuleManager.java:1352)

    at org.netbeans.ModuleManager.enable(ModuleManager.java:1156)

    at org.netbeans.core.startup.ModuleList.installNew (ModuleList.java:340)

    at org.netbeans.core.startup.ModuleList.trigger (ModuleList.java:276)

    at org.netbeans.core.startup.ModuleSystem.restore (ModuleSystem.java:301)

    at org.netbeans.core.startup.Main.getModuleSystem (Main.java:181)

    at org.netbeans.core.startup.Main.getModuleSystem (Main.java:150)

    at org.netbeans.core.startup.Main.start (Main.java:307)

    at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)

    at java.lang.Thread.run(Thread.java:745)

    Hi Torsten,

    Thanks for reporting the problem. I logged a bug.

    You can view together as "list of system types" directory to "preference > Data Modeler"-probably no longer exists. I guess that the setting for this directory is empty when you start SQL Dev as a different user.

    Philippe

  • How to modify data in "Result grid query" in Oracle SQL developer

    Dear,

    I would like to know how to change values directly in the query result grid.

    I use Oracle SQL Developer version 4.0.3.16

    Thank you

    Khalil

    EditValues.JPG

    I checked in SQL Developer 4 and I found no option to do this.

    I don't think it's available. You can open the table and add filters on each column and change. Or you can add where clause as suggested the link written by Jeff that I already gave. (http://www.thatjeffsmith.com/archive/2013/06/sql-developer-im-looking-at-a-record-how-do-i-edit-it/)

    Or you write update instructions.

    See you soon

    AJ

  • How to change the password of a schema by using Oracle SQL Developer

    Hi need to change the password of a schema by using Oracle SQL Developer, how can I do?

    or maybe http://www.thatjeffsmith.com/archive/2012/11/resetting-your-oracle-user-password-with-sql-developer/

  • 4.0.2 Oracle sql developer - capital letters for keywords

    Hello

    I want that key words turn to capital letters, even when I write in lowercase letters.

    for example:

    SELECT *.

    DE PEM

    WHERE work = "manager";

    Thanks in advance

    Elad

    You can set that in the preferences
    http://www.thatjeffsmith.com/archive/2012/12/formatting-keywords-to-uppercase-in-Oracle-SQL-Developer/

  • Oracle SQL Developer 4.0.2 (4.0.2.15.21) missing ututil in bin files

    I downloaded the Oracle SQL Developer 4.0.2 (4.0.2.15.21)... It comes with JDK... I can't find the files ututil.sh and ututi.bat in sqldeveloper/bin? Any ideas?...

    Hey, Jeff Smith. Thanks for the reply.

    It looks not like command line utility call unit tests was changed to 4.0.2 compared to 3.0.

    Can you please give me some reference documents I can to understand how to run utilities UTUTIL 4.0.2 version. ? Jeff Smith Sqldev Pm-Oracle

  • ORACLE SQL DEVELOPER 4.0

    Sorry you can help me with this

    I have a big question and I need to sort bastate example

    Select Field1 from table1 where field1 = 10;

    I need to make sure

    Select field1

    FROM table1

    where field1 = 10; .....

    I use ORACLE SQL DEVELOPER 4.0

    you want to sort your result or for formatting your code? I think that ctl + f7 is used to display the code in sql developer.

  • Oracle SQL Developer/Oracle 11 g/Windows 7 - cannot connect 'sys as sysdba'

    Hello

    I downloaded and installed SQL Developer 3.2.20.09, the latest version, separately from Oracle 11 g, because the version provided with Oracle 11 g did not work properly.

    Now, I'm trying to connect SQL Developer 3.2 to my instance of 11g Oracle installed on Windows 7.

    I can log in with the user name SYS AS SYSDBA using SQLPLUS, text bundled with Oracle 11g, with a password to null and without any problem.

    However, when I try to connect to the same instance using the graphical tool based on Java, Oracle SQL Developer 3.2 I get this error:

    Status: Failure-Test failed: ORA-01031: insufficient privileges

    I already checked the computer management and I am already a member of administrators and 'ORA_DBA' groups.
    I already checked tnsnames.ora, etc. and everything is indicated as it should.
    I also checked my SID and it corresponds to what was named during the installation of Oracle 11 g.

    Is someone can you please tell me why I can't connect using SYS AS SYSDBA?

    Connection to SQL Developer as the user SYS to Getting Started tutorial

  • Database SQL Server (read-only mode) in Oracle SQL Developer

    Hello

    I have connected the database server SQL with Oracle SQL Developer 3.2.10.09, everything looks good except that I can only browse the data, I can not change the data in the tables may not add new or delete lines. Query is also disabled (I got the message: Query Builder is not supported for this connection type.) I used a third of JDBC drivers - jtds - 1.2.6.jar as my connection to SQL server. Is there a way to change the data in the tables?

    Thank you.

    As much as I KNOW edition data in table in the grid are possible with an Oracle database. On MS SQL, you can use update instructions on the worksheet.

    Hope that helps,
    dhalek

  • Error 17002 i/o in Oracle SQL Developer

    Hello

    I am trying to connect to the database to test using the Oracle SQL developer, but I get the below error
    IO error: the network adapter could not establish the connection provider code 17002

    I used to connect to the test server very well 2 weeks ago (the test server is on a different network and I connect using VPN).

    I am able to connect to the database of the Production by the developer Oracle SQL (without VPN) but when I try to connect to the test, I get the error.

    I checked the name of the service and the ports and everything is fine and. So, what could be the problem?

    Is there any change that's happened?
    Check firewall settings

Maybe you are looking for

  • Export bookmarks does not work for me.

    I tried to export my bookmarks to a file html several times now. The bookmarks.html file appears anywhere on my computer (I have searched for it). I know I've done this before (for more than one year) on previous versions of firefox, but it does not

  • Webcam is dark in Windows Live Messenger

    Hey guys,. I'm having some trouble with my Chicony webcam. It works fine with Skype and the software Chicony, but when I use it in Windows Live Messenger, the sound picture very dark. I try to activate night Mode, but it doesn't do anything. A soluti

  • Connect two Macbook Pro retina to create the extended desktop

    I have two Macbook Pros retina 15 inches (personal: mid 2012, work: mid 2015). They are both under OS x El Capitan 10.11.3 I would like to connect them to create a wide area network. Am I wrong? Is there a way to share the two opens with a bolt of li

  • A single channel with PX1211E-1TVD (USB DVB - T TV TUNER)

    I just installed a TV Tuner, but there was only one channel after the selected auto scan.How can I go back to install more channels?

  • Get a clean download iso of Windows 98

    Is there a way I can install Windows 98? I had it but I completely lost it. -Alex