Create a new database in Oracle Developer












0















I downloaded and installed Oracle SQL Developer on my computer. I connected to my company's database. However, as I'm still learning SQL queries - I would like to test out the queries that I wrote on a mock database.



My question is how do I create a database?



I searched through the internet and tried the following.



On the New/Select Database Connection Menubox I typed in the following:



Connection Name: HR_ORCL



Username: HR



Password: HR



Connection Type: Basic



Role: default



Hostname: localhost



Port: 1521



SID: ORCL



I then clicked on test and got the following error message: "Status: Failure-Test failed: IO Error: The Network Adapter could not establish the connection".



How do I create a mock database?



Thank you!










share|improve this question























  • Oracle SQL Developer is a client tool, it does not contain the database server component. You need to install and configure the server on your computer first. If this is on a company machine you will run into licensing issues (because that's Oracle's business model) so I recommend using an alternative DBMS like PostgreSQL or SQL Server Express unless you really need to learn PL/SQL instead of other dialects.

    – Dai
    Nov 14 '18 at 3:34













  • You installed SQL Developer, Now What? - your options for getting a database to 'play with' medium.com/oracledevs/…

    – thatjeffsmith
    Nov 14 '18 at 15:03
















0















I downloaded and installed Oracle SQL Developer on my computer. I connected to my company's database. However, as I'm still learning SQL queries - I would like to test out the queries that I wrote on a mock database.



My question is how do I create a database?



I searched through the internet and tried the following.



On the New/Select Database Connection Menubox I typed in the following:



Connection Name: HR_ORCL



Username: HR



Password: HR



Connection Type: Basic



Role: default



Hostname: localhost



Port: 1521



SID: ORCL



I then clicked on test and got the following error message: "Status: Failure-Test failed: IO Error: The Network Adapter could not establish the connection".



How do I create a mock database?



Thank you!










share|improve this question























  • Oracle SQL Developer is a client tool, it does not contain the database server component. You need to install and configure the server on your computer first. If this is on a company machine you will run into licensing issues (because that's Oracle's business model) so I recommend using an alternative DBMS like PostgreSQL or SQL Server Express unless you really need to learn PL/SQL instead of other dialects.

    – Dai
    Nov 14 '18 at 3:34













  • You installed SQL Developer, Now What? - your options for getting a database to 'play with' medium.com/oracledevs/…

    – thatjeffsmith
    Nov 14 '18 at 15:03














0












0








0








I downloaded and installed Oracle SQL Developer on my computer. I connected to my company's database. However, as I'm still learning SQL queries - I would like to test out the queries that I wrote on a mock database.



My question is how do I create a database?



I searched through the internet and tried the following.



On the New/Select Database Connection Menubox I typed in the following:



Connection Name: HR_ORCL



Username: HR



Password: HR



Connection Type: Basic



Role: default



Hostname: localhost



Port: 1521



SID: ORCL



I then clicked on test and got the following error message: "Status: Failure-Test failed: IO Error: The Network Adapter could not establish the connection".



How do I create a mock database?



Thank you!










share|improve this question














I downloaded and installed Oracle SQL Developer on my computer. I connected to my company's database. However, as I'm still learning SQL queries - I would like to test out the queries that I wrote on a mock database.



My question is how do I create a database?



I searched through the internet and tried the following.



On the New/Select Database Connection Menubox I typed in the following:



Connection Name: HR_ORCL



Username: HR



Password: HR



Connection Type: Basic



Role: default



Hostname: localhost



Port: 1521



SID: ORCL



I then clicked on test and got the following error message: "Status: Failure-Test failed: IO Error: The Network Adapter could not establish the connection".



How do I create a mock database?



Thank you!







database oracle-sqldeveloper






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 14 '18 at 3:26









tkj80tkj80

234




234













  • Oracle SQL Developer is a client tool, it does not contain the database server component. You need to install and configure the server on your computer first. If this is on a company machine you will run into licensing issues (because that's Oracle's business model) so I recommend using an alternative DBMS like PostgreSQL or SQL Server Express unless you really need to learn PL/SQL instead of other dialects.

    – Dai
    Nov 14 '18 at 3:34













  • You installed SQL Developer, Now What? - your options for getting a database to 'play with' medium.com/oracledevs/…

    – thatjeffsmith
    Nov 14 '18 at 15:03



















  • Oracle SQL Developer is a client tool, it does not contain the database server component. You need to install and configure the server on your computer first. If this is on a company machine you will run into licensing issues (because that's Oracle's business model) so I recommend using an alternative DBMS like PostgreSQL or SQL Server Express unless you really need to learn PL/SQL instead of other dialects.

    – Dai
    Nov 14 '18 at 3:34













  • You installed SQL Developer, Now What? - your options for getting a database to 'play with' medium.com/oracledevs/…

    – thatjeffsmith
    Nov 14 '18 at 15:03

















Oracle SQL Developer is a client tool, it does not contain the database server component. You need to install and configure the server on your computer first. If this is on a company machine you will run into licensing issues (because that's Oracle's business model) so I recommend using an alternative DBMS like PostgreSQL or SQL Server Express unless you really need to learn PL/SQL instead of other dialects.

– Dai
Nov 14 '18 at 3:34







Oracle SQL Developer is a client tool, it does not contain the database server component. You need to install and configure the server on your computer first. If this is on a company machine you will run into licensing issues (because that's Oracle's business model) so I recommend using an alternative DBMS like PostgreSQL or SQL Server Express unless you really need to learn PL/SQL instead of other dialects.

– Dai
Nov 14 '18 at 3:34















You installed SQL Developer, Now What? - your options for getting a database to 'play with' medium.com/oracledevs/…

– thatjeffsmith
Nov 14 '18 at 15:03





You installed SQL Developer, Now What? - your options for getting a database to 'play with' medium.com/oracledevs/…

– thatjeffsmith
Nov 14 '18 at 15:03












2 Answers
2






active

oldest

votes


















0














Oracle's flagship database product is a "client/server" system where databases run inside a server process that often runs on a dedicated database server computer, all other client software (including business web-applications, web-services, desktop software and development tools like Oracle SQL Developer) are separately run and do not require the database server be running locally.



To create a database that runs on your computer you need to install the Oracle database server on your computer. Given Oracle's business model of turning software licensing audits into a very profitable business model you likely won't get approval from your company's IT people to install Oracle server on your local machine: they'll either set you up with your own private database instance in an existing server for you to play with or instruct you to install a different (and free) database server not covered by Oracle's licensing schemes - these different products use a different dialect of SQL (e.g. MS SQL Server uses T-SQL, Oracle uses PL/SQL, etc) and different DBA and development tools (e.g. SSMS+SSDT instead of Oracle SQL Developer).






share|improve this answer































    0














    There's multiple options to getting a free Oracle database.



    XE 18 was recently released here:



    https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html



    There's a developer day vm that has labs inside it along with a database here:



    https://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html



    There's the docker option outline by Tim Hall here:



    https://oracle-base.com/blog/2018/07/26/oracle-database-18-3-0-and-docker/






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53292757%2fcreate-a-new-database-in-oracle-developer%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Oracle's flagship database product is a "client/server" system where databases run inside a server process that often runs on a dedicated database server computer, all other client software (including business web-applications, web-services, desktop software and development tools like Oracle SQL Developer) are separately run and do not require the database server be running locally.



      To create a database that runs on your computer you need to install the Oracle database server on your computer. Given Oracle's business model of turning software licensing audits into a very profitable business model you likely won't get approval from your company's IT people to install Oracle server on your local machine: they'll either set you up with your own private database instance in an existing server for you to play with or instruct you to install a different (and free) database server not covered by Oracle's licensing schemes - these different products use a different dialect of SQL (e.g. MS SQL Server uses T-SQL, Oracle uses PL/SQL, etc) and different DBA and development tools (e.g. SSMS+SSDT instead of Oracle SQL Developer).






      share|improve this answer




























        0














        Oracle's flagship database product is a "client/server" system where databases run inside a server process that often runs on a dedicated database server computer, all other client software (including business web-applications, web-services, desktop software and development tools like Oracle SQL Developer) are separately run and do not require the database server be running locally.



        To create a database that runs on your computer you need to install the Oracle database server on your computer. Given Oracle's business model of turning software licensing audits into a very profitable business model you likely won't get approval from your company's IT people to install Oracle server on your local machine: they'll either set you up with your own private database instance in an existing server for you to play with or instruct you to install a different (and free) database server not covered by Oracle's licensing schemes - these different products use a different dialect of SQL (e.g. MS SQL Server uses T-SQL, Oracle uses PL/SQL, etc) and different DBA and development tools (e.g. SSMS+SSDT instead of Oracle SQL Developer).






        share|improve this answer


























          0












          0








          0







          Oracle's flagship database product is a "client/server" system where databases run inside a server process that often runs on a dedicated database server computer, all other client software (including business web-applications, web-services, desktop software and development tools like Oracle SQL Developer) are separately run and do not require the database server be running locally.



          To create a database that runs on your computer you need to install the Oracle database server on your computer. Given Oracle's business model of turning software licensing audits into a very profitable business model you likely won't get approval from your company's IT people to install Oracle server on your local machine: they'll either set you up with your own private database instance in an existing server for you to play with or instruct you to install a different (and free) database server not covered by Oracle's licensing schemes - these different products use a different dialect of SQL (e.g. MS SQL Server uses T-SQL, Oracle uses PL/SQL, etc) and different DBA and development tools (e.g. SSMS+SSDT instead of Oracle SQL Developer).






          share|improve this answer













          Oracle's flagship database product is a "client/server" system where databases run inside a server process that often runs on a dedicated database server computer, all other client software (including business web-applications, web-services, desktop software and development tools like Oracle SQL Developer) are separately run and do not require the database server be running locally.



          To create a database that runs on your computer you need to install the Oracle database server on your computer. Given Oracle's business model of turning software licensing audits into a very profitable business model you likely won't get approval from your company's IT people to install Oracle server on your local machine: they'll either set you up with your own private database instance in an existing server for you to play with or instruct you to install a different (and free) database server not covered by Oracle's licensing schemes - these different products use a different dialect of SQL (e.g. MS SQL Server uses T-SQL, Oracle uses PL/SQL, etc) and different DBA and development tools (e.g. SSMS+SSDT instead of Oracle SQL Developer).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 14 '18 at 3:40









          DaiDai

          72.4k13115201




          72.4k13115201

























              0














              There's multiple options to getting a free Oracle database.



              XE 18 was recently released here:



              https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html



              There's a developer day vm that has labs inside it along with a database here:



              https://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html



              There's the docker option outline by Tim Hall here:



              https://oracle-base.com/blog/2018/07/26/oracle-database-18-3-0-and-docker/






              share|improve this answer




























                0














                There's multiple options to getting a free Oracle database.



                XE 18 was recently released here:



                https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html



                There's a developer day vm that has labs inside it along with a database here:



                https://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html



                There's the docker option outline by Tim Hall here:



                https://oracle-base.com/blog/2018/07/26/oracle-database-18-3-0-and-docker/






                share|improve this answer


























                  0












                  0








                  0







                  There's multiple options to getting a free Oracle database.



                  XE 18 was recently released here:



                  https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html



                  There's a developer day vm that has labs inside it along with a database here:



                  https://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html



                  There's the docker option outline by Tim Hall here:



                  https://oracle-base.com/blog/2018/07/26/oracle-database-18-3-0-and-docker/






                  share|improve this answer













                  There's multiple options to getting a free Oracle database.



                  XE 18 was recently released here:



                  https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html



                  There's a developer day vm that has labs inside it along with a database here:



                  https://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html



                  There's the docker option outline by Tim Hall here:



                  https://oracle-base.com/blog/2018/07/26/oracle-database-18-3-0-and-docker/







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 15 '18 at 0:20









                  Kris RiceKris Rice

                  2,336728




                  2,336728






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53292757%2fcreate-a-new-database-in-oracle-developer%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Xamarin.iOS Cant Deploy on Iphone

                      Glorious Revolution

                      Dulmage-Mendelsohn matrix decomposition in Python