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.

Tags: Database

Similar Questions

  • Question about the Oracle database resource management

    Good evening
    I have a question about Oracle database Resource Management (DRM) for Oracle Database 10 g. I had an incident which, in a development/UAT environment (different instances, same box, don't ask), a developer wrote a wrong SQL statement that consumed 99% of the CPU. Currently, there is no limit of resources on two cases of db, and the developers don't want limits. However, my manager wants a method to prevent something like this does not happen. If I use the Oracle database resources management, create a consumer group (called "DevEnv") at 40% CPU usage, what will happen if a user of DevEnv runs a bad SQL statement that normally consumes 90% CPU again? Anyone would take a different approach? Thank you.

    Sincerely,
    Sho Fukamachi

    782718 wrote:
    If users in the case of "db_uat" use 60% CPU would be users who belongs to DevEnv pending 'db_test' cannot be used more than 40% CPU, so their queries become slower at their end? I would like to know if this behavior works the same in an environment of multiple instances. Thank you.

    Yes, because the available processor would be 40%, they use more, while.

  • Question about the Oracle Client software

    Good afternoon

    The following statement appears in the day 2 DBA OBE for Chapter 4:

    >
    You must first install the Oracle database client software, which includes the Oracle Net software.
    >

    I downloaded the instant client, installed and everything works fine. However, the instant client does not include the Oracle Net software. I searched for a 'no snapshot' customer ;) he would understand, but did not find these clients. I tried to start the complete installation (downloaded from the Oracle site) and there is no option to install the client only.

    Question: There is another client that includes the Oracle Net software as described in the OBE? If Yes, where is it?

    Thank you for your help,

    John.

    Yes, the "full" client package is available in the downloads / database and has a name like this:

    Oracle Database 11 g Release 2 (11.2.0.1.0) Client for Microsoft Windows (32-bit)

    (and of course is available for different platforms)

  • question on the pl/sql developer tool

    Hello

    I'm trying to debug a package by using pl/sql developer. It looks good, but the variable defined in the package do not display their value even in the mode debug to see what they have in this particular instance.

    How to get there?
    Thank you.
    KK

    Hello

    As HOEK has suggested... Please, go to the tool menu... preferences... under Oracle... debugger...

    You can see three text boxes... never... always... never. first check... button display the values of variables in a popup.

    Please enable this option... debug it...

    Concerning
    KPR

  • Basic questions about the PL/SQL web services and data source names

    Hello

    I've successfully generated a web service for a procedure from PL/SQL packaged JDeveloper 11.1.1.3.0).

    The following code was generated in the base class for web services:
     __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");
    However in the weblogic server, the data source name is jdbc/Gisele for deployment fails in a first time.

    What is the recommended procedure to solve this problem? The obvious solution is to manually change the source - that's what I did and it worked fine. However if I re - generate the web service I won't lose my change. Is there a better way to do it?

    Another question - in the web.xml file that is generated, there is a resource-ref to the data source. I was hoping that change the data source name it would help, but it didn't work. What is - it used to in this context?

    Thank you
    Luis

    I forgot to add, so in case some time later and you want to update the connection to your service details, all you have to do is to add the following entry in your weblogic.xml:
    .

    JDBC/ref_name_from_web. XML
    JDBC/new_jndi_name

    .
    And in this way, you will not have to change any code level to point your web service to another connection.

    Vishal-

  • I have a question about the functionality of Oracle Identity Manager...?

    Hi friends
    I have a question about the features of Oracle Identity Manager.
    Here's my question:
    Self-management is possible network passwords (reset / unlock) with Oracle Identity Manager 9.1.0.2

    Very grateful.

    What Kevin suggested this means that you are managing accounts and their password by IOM. If your condition is the same then follow:

    Re: error during password reset using the self-service portal

  • A question about the insertion of the localTimeStamp returned the value into a timestamp with time zone column

    Hello

    Oracle version: Enterprise Edition Release 12.1.0.1.0 - 64 bit

    OS: CentOS 4.6 X86_64                  

    I have a question about the localTimeStamp function. According to the documentation for this function is
    the same thing as current_TimeStamp except that the returned value does not include the time zone.

    Consider the following example:

    SQL > create table tmptab (colval timestamp with time zone not null);

    Table created.

    SQL > insert into tmptab (colval) values (localTimeStamp);

    1 line of creation.

    SQL > select t1.colval, tmptab from t1;

    COLVAL

    ---------------------------------------------------------------------------

    24 JANUARY 14 09.45.42.253732 H + 01:00

    SQL >

    Why introduce the foregoing did not fail? the data type of the column in my table colval expects a timestamp with time zone

    during each which inserts as I understand (correct me if I'm wrong) is not provided by the localTimeStamp function.

    Could someone kindly tell me what I misunderstood?

    Thanks in advance,

    dariyoosh wrote:

    Hello

    Oracle version: Enterprise Edition Release 12.1.0.1.0 - 64 bit

    OS: CentOS 4.6 X86_64                  

    I have a question about the localTimeStamp function. According to the documentation for this function is
    the same thing as current_TimeStamp except that the returned value does not include the time zone.

    Consider the following example:

    SQL > create table tmptab (colval timestamp with time zone not null);

    Table created.

    SQL > insert into tmptab (colval) values (localTimeStamp);

    1 line of creation.

    SQL > select t1.colval, tmptab from t1;

    COLVAL

    ---------------------------------------------------------------------------

    24 JANUARY 14 09.45.42.253732 H + 01:00

    SQL >

    Why introduce the foregoing did not fail? the data type of the column in my table colval expects a timestamp with time zone

    during each which inserts as I understand (correct me if I'm wrong) is not provided by the localTimeStamp function.

    Could someone kindly tell me what I misunderstood?

    Thanks in advance,

    Then, when you do

    create table t (neck DATE);

    Insert into t (to_date ('1st January 2014', ' mon-dd-yyyy "");)

    Are you surprised that it works? After all a DATE column contains a time component, you do not provide: but he

    works and gives you 00:00:00 as the component "hour".

    Similarly, the timezone component is being developed to automatically with, I think, time zone of your system.

  • a few questions about the migration of content/web content

    Hi all


    I have a few questions about the migration of the website and content (from development to test) which are not specified after reading the oracle documentation.

    -> When we make the site replication will be migrated content (data files).

    -> when we move will contained all the ED and RD etc (any object type web site migrated).

    --> are the two the necessary step for migration when we migrate web site.


    Thank you

    -Yves

    --> When we make the site replication of the content will be migrated (data files).

    It depends on how you do it. The tool 'Site Studio Replicator' won't move any content, only the structure of the site. The 'Manage replication Site' page can be used to migrate content with the structure of the site but I do not recommend for large sites, I use separate tasks to archive to move the content. "Backup and restore" page stores the entire site in a ZIP file, not advisable for large sites.

    --> When migrate us content will be all ED and RD etc (any object type web site migrated).

    Yes. It uses the metadata xWebsites field to identify the elements that belong to the site.

    --> are the two the necessary step for migration when we migrate web site.

    Depends on how you do it, but yes, all bits are needed.

  • Question about the database to use with ESX and Labmanager

    Hello

    Finally my company is buying a permit for Labmanager and ESX server using Labmanager to our tests.

    We had a question about the database that we use for the actual installation.

    Could we use MY - SQL? Or that we have the olbigation to install a SQL or Oracle DB for the whole system to work?

    We prefer to use MY_SQL because it is open-source and will cost less to use for us.

    Thanks in advance for the answer and please excuse my bad English, I'm french spoke first.

    Lafa91

    Montreal.

    Lab Manager installs SQL Express as part of the installation and use. If you install also Virtual Center as part of your deployment of Lab Manager (do not use an existing VC server), you can use the database SQL Express is included for small installations of ESX, but MY SQL is not an option. You can search the databases supported in the installation guide for what version you deploy.

  • Where should questions about the JDEV/ADF positions?

    Hello

    Where should questions about the JDEV/ADF positions?

    JDeveloper and ADF or

    JDeveloper and ADF?

    I found there may be some different advantageous:

    https://forums.Oracle.com/message/11109674?TSTART=0#11109674

    Thank you.

    Well, the other forum you mentioned is the Korean equivalent of the English forum.

    You have already discovered, it is not controlled to many users. I didn't know that it exists at all.

    In general it is to you where you ask your questions. All for one here are driven by the community and some employees of the Oracle, you cannot wait has answered all your questions. If you really need to answer you go through paid support.

    A tip for getting help is to provide a well-defined use cases, information relating to your environment and documented code showing what you have already tried.

    Timo

  • How to set up the PL/SQL Developer with customer instant

    Hi buddies!

    I want to install PL/SQL Developer. I would like to install Instant customer? I need to install the PL/SQL Developer in my pc that will access the database of the server.

    Please enlighten me.

    Thank you.

    See you soon!

    Nith

    Published by: user645399 on May 12, 2010 16:26

    user645399 wrote:

    Here are the steps I followed.

    I don't see a problem with these steps. It is correct. Step 7 is redundant (because of the where you have placed the tnsnames.ora file)-it is only really necessary when you place the file in another directory where +%ORACLE_HOME%\network\admin+ is no longer applicable.

    Note that the customer himself, needs to load the DLL of OIC InstantClient - and this DLL uses the settings of environment and the rest of "do its thing".

    If customer load another customer Oracle DLLS, then bets are open InstantClient is used, never mind will work.

    Only one copy of a DLL can exist in memory. So if some other s/w is using other DLL OIC, then this DLL is already loaded and will be used by all other client s/w. Nothing will be able to use the DLL itself InstantClient.

    Therefore, make sure that no Oracle client driver is loaded at all. Then make sure that when the client s/w requests to load the DLL of the OIC, it is loaded from the InstantClient directory.

    As far as I remember, the core Win32 LoadLibrary() call is made by the application - if the DLL is not in memory, the current (in the virtual machine for this process of Windows) directory is used. If the DLL does not exist there, the %PATH% variable is used to find and load the DLL. DLL usage meter is then set to 1. When multiple processes require the DLL, it is incremented. When a process ends, the usage count is decremented. When it reaches 0, its unloaded from memory.

    Result of all this is that only one module DLL (whatever the number and versions of the physical DLL files on disk) can reside in the kernel space, and you must ensure that the correct physical DLL is loaded by the kernel.

  • Questions about the stores in iProcurement

    All,

    I have a few questions about the implementation of iProcurement stores-

    1 oracle comes seeded with 2 stores "Backend" and "Exchange.Oracle.com. We do not have the use of these stores. I don't see an option to turn them off. Is it advisable to delete them? They occupy unnecessary space and are seen first. I read this on Metalink Note ID 429470.1 - "NOTE: while the value can be changed, it is highly recommended to not under any circumstances ever remove"Main store"page stores to manage content in iProcurement catalog administrator responsibility.» Do not know why.

    2. we have a Punchout for Dell U.S. catalog store and a catalog of information for Dell International. Buyers of Dell are iProcurement to each punchout to place their orders from Dell for the USA (shopping cart returns to iProcurement) - or - just use the store Dell International to go to an external URL and place their orders here (who do not return to iProcurement). What we see is - when the user clicks on the icon Dell us, it is taken directly to the URL of the PunchOut of Dell, but when he clicks on the Dell International icon, he was first taken to the list of catalogs available to the store (only 1 available catalog) and the user must then click again on the link Dell International. Is there a way to configure the Dell International icon to behave the way behaves in the Punchout icon - i.e. directly take the user to the Dell page without a need to show the list of catalogs.

    Hey,.
    To answer your Questions
    1. you can always delete those either if you want to... The reason why the link Meta Notes say not only not to delete the main store is
    i. because main store has all of the Local content in iProcurement (i.e. If you have any installation of items in the inventory you and them Module iProcurement Enabled (IE can be purchased at iProcurement) and any other article of local catalogues/categories Loaded using the BULK LOADING in iProcurement is also removed.)
    II. you can always delete the information Exchange Oracle store if you do not use.
    I would advise so do not remove the main store. Instead, you can change the sequence of the display of the stores you iProcurement Page.
    Browsing ==> Internet shopping Catalog Admin (RESP) ==> eContent crib ==> content management ==> stores ==> press the update sequence and make sure that the sequence number for main is superior to any other store so that the hand store falls last in the House of iProcurement Page

    2.i don't think that there is no option to do this. but you can always open an SR with Oracle about it and ask this question\

    hope that answers your Question.

    Thank you
    SANTU

  • Person to contact with questions about the presentation of the app world

    If I have a question about the app that I submitted, anyone knows how do I contact someone about this? I can't find anything on the site and respond to notification emails gets me nowhere.

    Hey miss breeder,.

    that will be tough. If you browse the App World his hell out there because of the new development forums and people have a lot of problems with it. I've read people were emailing RIM all week and no responses were received. But if you post a question here MShom (one of the moderators) usually responds in a timely. The support email is [email protected] I believe. Good luck!

  • Questions about the terms and conditions

    Dear team of Adobe Stock,

    I am considering a subscription for an e-commerce site that I am developing. I have a few questions about the terms and conditions:

    3.5 social media use. You can view or download an unmodified version of the book on the Social media Site if (A) you include a notice of copyright in the work itself (© author name - stock.adobe.com) and (B) the terms of use governing the Social media Site do not include any provision that would grant exclusive rights or the ownership of those works or alterations to anyone. "Social Media Site" means a website or application that puts the main emphasis on facilitating social interaction between its users and allowing users to share content in such social interaction

    What I have to insert in each post on social media on behalf of the author? Generally, this information is displayed only for free images. What I have to insert this information even if I signed up for a plan?

    Thank you

    Hello

    Please see the link below for help:

    http://wwwimages.Adobe.com/content/dam/ACOM/en/legal/servicetou/Adobe-stock-additional-ter ms_20160119.pdf

  • Exam question-value of the point and unanswered questions about the VCP4 exam?

    Hello

    I have a few questions about the scoring to secure Channel 4 review system:

    1. All the questions on the exam are weighted the same?

    2. Is there a penalty for unanswered questions?  In other words, is it better to not answer a question, if you are sure that you do not know the answer, or take a guess if it comes down to it?

    Thank you very much

    Bryan

    Not responding not to an element, it is the same thing that answer wrongly as far as scoring is concerned, so it makes sense to guess rather than leave the question unanswered.

    With respect to the weighting, all elements have the same weight in the VCP exam, but some items do not count against the overall score.  These "dosed" items continually change and are chosen at random.  We insert elements assayed to determine the validity of the element until it became a party has received from the real exam.  If however, you want to treat each item with an equal amount of importance.

    Hope this helps,

    Jon C. Hall

    Technical developer certification

    [email protected]

    2077 Loma Linda way n., Clearwater, FL 33763

    727-446-8430 Office

    727-460-8448 Mobile

    Fax 702-554-3727

Maybe you are looking for

  • P7-1020: chipset

    I installed a new Firewire PCI Express card on my motherboard AMD Phenom IIx4 9607.  All the drivers installed fine except one: PCI to PCI. The store where I bought is recommended that update the Chipset drivers.  Which will work?  My HP support assi

  • Equium L40 - error during recovery

    I need to recover my Toshba Equium L40 running Vista. So I put in the disk that come with the laptop when I got it, he began to do what he needed to do, I have chosen the language and press next and then Next again, then a BACK screen appears and beg

  • How to get copies of all my app purchases made from past to present

    Need a process step by step for an iPhone more 6s

  • Second display M92p port

    I looked for this answer, but could not find one. I have a small M92p. No second option. Can I order just the display port and cable to add the second RFP? Thank you.

  • HP Pavilion g series: voice of the unwanted ads

    For the first time I'm ads of hearing that seem unrelated to the site I'm.  There is no visible advertising, just noise.  I had to cut the sound, because they were so boring.  How can I get rid of them?