How to Set Up Oracle Database with Docker (Official Container Image)

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025

Комментарии • 192

  • @DatabaseStar
    @DatabaseStar  2 года назад +37

    Update: it seems like the Standard repository has been removed from this registry for some reason. You may be able to use either the express or enterprise versions. I haven't tested either of them but I will create a video on this in the future.

    • @ttc744
      @ttc744 Год назад +2

      Great - that would be really helpful. I tried it but its really slows down my windows machine. Would you go through the hardware requirements as well and ideally as docker-compose file. Also exaplain how to setup an initial schema with schema user and other app user for the schema

    • @2012oyt
      @2012oyt Год назад +3

      There is a FREE version available now

    • @francescofreddi4374
      @francescofreddi4374 Месяц назад

      @@2012oyt but... how functions?

  • @jnnfnt08
    @jnnfnt08 2 года назад +10

    This video came at a perfect time! I appreciate that you updated the previous Oracle + Docker video. Thank you!

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Awesome! Glad it was helpful for you.

  • @shutterassault1
    @shutterassault1 2 года назад +3

    This was very helpful. First video on setting up Oracle on Docker for Windows that actually worked for me!

  • @BahaeddinehemmemCHAREN-r4g
    @BahaeddinehemmemCHAREN-r4g 4 месяца назад +1

    I didn't find the standard database in the website, what should I choose?

    • @DatabaseStar
      @DatabaseStar  3 месяца назад

      I believe it has been removed since I made the video. There's probably another edition you can choose there.

  • @Loqrin
    @Loqrin 2 года назад +3

    This might help some out there.
    When trying to connect to the database, I received this error:
    "the network adapter could not establish the connection"
    Instead of using the port 1521, I used the port 1527.
    When I did "docker ps" I could see two ports:
    0.0.0.0:1527->1521.
    As well as in the docker desktop GUI, it showed for the container the ports "1527,5507".
    So I tried that and it worked for me.

  • @locktharcillo
    @locktharcillo 2 года назад

    ty couldn't found the official oracle db in docker hub! very good tutorial

  • @rmcavalhoo
    @rmcavalhoo 2 года назад

    Your explanation is very good

  • @alitc300
    @alitc300 2 года назад

    You were right, it works now, thanks a lot for your help. An incredible video.

  • @pkilpo
    @pkilpo 2 года назад +1

    I got TLS error from oracle default repository. I used another mirror where Frankfurt worked for me. Mirrors are listed on oracle repository page.

  • @almaraya2889
    @almaraya2889 2 года назад

    Thanks for this helpful video. It totally saved my day. Question: When do I use both listener and http port? I asked because you did only use one of them. Do I just need one? Thanks

    • @DatabaseStar
      @DatabaseStar  2 года назад +1

      Glad you like the video! I'm not sure when you would use both - for this video, I just took the connection details on the Oracle container page and used them here, and it seemed to work.

  • @bac2463
    @bac2463 2 месяца назад

    I want to use Ubuntu for C++ programming. I know Ubuntu doesn't officially support Oracle installation. But will your instructions work on Ubuntu?

    • @DatabaseStar
      @DatabaseStar  2 месяца назад +1

      I'm not sure, actually, as I've never used Ubuntu. I assume they would though, if Docker works on Ubuntu.

  • @singlaarun1979
    @singlaarun1979 11 месяцев назад

    I cant see any details for environment file listed on the express version or the free version. How I do i get hold of the env file or create one?

    • @DatabaseStar
      @DatabaseStar  11 месяцев назад

      I can't see it either, but I have a link to an env file I used in the video description.

  • @OthmaneLarhzal
    @OthmaneLarhzal 5 месяцев назад

    I'm trying to pull the image, but it says that I'm unauthorized, even though I'm logged in and have accepted the license agreement

    • @DatabaseStar
      @DatabaseStar  5 месяцев назад

      Oh that's strange. Perhaps one of the parameters is wrong, or something has changed on the Oracle repository since creating this video, and the "unauthorized" is a generic error message.

  • @MdAzharuddin-h3u
    @MdAzharuddin-h3u 7 месяцев назад

    first time it was connected but lator when i open again vs code and try to connect it shows error

    • @DatabaseStar
      @DatabaseStar  7 месяцев назад

      Oh what error did you get?

  • @lefique181
    @lefique181 2 года назад

    Perfect explanatory video . I have an error message "docker deamon is not running .system cannot find the file specified

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Thanks! Is the Docker application running? Sometimes I get this when I haven't opened the Docker application (in the user interface).

  • @guipingren5449
    @guipingren5449 Год назад +1

    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor

    • @DatabaseStar
      @DatabaseStar  Год назад

      Whcih SID are you using? Is the docker container running?

  • @edissongabriellopezsalaman9716
    @edissongabriellopezsalaman9716 2 года назад +2

    I have the following error:
    Status : Failure -Test failed: IO Error: Got minus one from a read call, connect lapse 2 ms., Authentication lapse 0 ms.

    • @DatabaseStar
      @DatabaseStar  2 года назад

      I remember seeing that when I was testing it but don't remember how I fixed it. Is the Docker container running? Are the connection details correct?

    • @edissongabriellopezsalaman9716
      @edissongabriellopezsalaman9716 2 года назад

      @@DatabaseStar Thank you for your response. Yes in Docker I get that everything is fine and even already removed and re-run Docker (docker run ...) and also try to change the port, also run the same that comes out in Oracle and nothing. In stackoverflow I think I got something about logging in again, but still success. I do not understand :( in case something, I'm on Windows 11

    • @carlosmanuelalvaradoandrad3801
      @carlosmanuelalvaradoandrad3801 2 года назад

      @@edissongabriellopezsalaman9716 I get the same error, but in Mac, I try to use ORCL in DB_SID, I tested, get an other error, then put back OraDoc and it works.
      Sorry for my English. 😁

    • @edissongabriellopezsalaman9716
      @edissongabriellopezsalaman9716 2 года назад

      @@carlosmanuelalvaradoandrad3801 It didn't work :c thanks anyway

    • @pavlosharov9027
      @pavlosharov9027 2 года назад

      I got the same error pressing Test creating the connection, I just then pressed Save and Cancel to close the window, then reopened the saved connection's Properties and this time it worked. I'm on on Windows 11.

  • @stephenunsure2943
    @stephenunsure2943 2 года назад

    Brilliant video thanks Ben.

  • @hansbaumberger4234
    @hansbaumberger4234 2 года назад +1

    I want to use the image in a docker-compose.yml file. What would be the ORACLE_USER, and ORACLE_DB_HOST ??

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Hmm I'm not sure, I don't have a lot of experience using docker-compose files unfortunately.

  • @marieclairemichelledelacru4853
    @marieclairemichelledelacru4853 9 месяцев назад

    Question in the new instructions it does not have any environment file but now I do not know which are the default username, password and domain ... what can I do ? I can not connect because I do not know what to write

    • @DatabaseStar
      @DatabaseStar  9 месяцев назад

      Yeah it seems to have changed a bit since I made this video. I’m working on a video now with the updated process which should be published in a week or two.

  • @cuttanoleonardo4099
    @cuttanoleonardo4099 Год назад +2

    It's a very useful video, that I followed step by step. However I tried to connect the Database and this is the result:
    Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=xhWCYUQoTZaLcUwDOFk9Yg==)
    Although I have read and followed the other comments about it and the related solutions, I can't fix it
    Please help me: It's very important

    • @DatabaseStar
      @DatabaseStar  Год назад

      Is the status of the container showing as running? Sometimes I got this error when it was started but not yet running.

    • @Maruko____
      @Maruko____ Год назад

      @@DatabaseStar i have the same problem, the container is running and after 1 hour the console printed only:
      Starting Oracle Net Listener.
      Oracle Net Listener started.
      Starting Oracle Database instance XE.
      Oracle Database instance XE started.
      The Oracle base remains unchanged with value /opt/oracle
      #########################
      DATABASE IS READY TO USE!
      #########################
      The following output is now a tail of the alert.log:
      XEPDB1(3):Undo initialization finished serial:0 start:1187306 end:1187466 diff:160 ms (0.2 seconds)
      XEPDB1(3):Database Characterset for XEPDB1 is AL32UTF8
      XEPDB1(3):SUPLOG: Set PDB SUPLOG SGA at PDB OPEN, old 0x18, new 0x0 (no suplog)
      2023-04-01T17:43:52.526667+00:00
      XEPDB1(3):Opening pdb with Resource Manager plan: DEFAULT_PLAN
      Pluggable database XEPDB1 opened read write
      Starting background process CJQ0
      2023-04-01T17:43:52.871300+00:00
      CJQ0 started with pid=57, OS id=514
      Completed: ALTER DATABASE OPEN
      2023-04-01T17:51:54.281393+00:00
      XEPDB1(3):Resize operation completed for file# 10, fname /opt/oracle/oradata/XE/XEPDB1/sysaux01.dbf, old size 337920K, new size 348160K
      2023-04-01T18:01:54.350322+00:00
      Resize operation completed for file# 3, fname /opt/oracle/oradata/XE/sysaux01.dbf, old size 573440K, new size 593920K
      2023-04-01T18:01:54.356564+00:00
      XEPDB1(3):Resize operation completed for file# 10, fname /opt/oracle/oradata/XE/XEPDB1/sysaux01.dbf, old size 348160K, new size 358400K
      2023-04-01T18:14:59.810152+00:00
      XEPDB1(3):TABLE SYS.WRI$_OPTSTAT_HISTHEAD_HISTORY: ADDED INTERVAL PARTITION SYS_P360 (45016) VALUES LESS THAN (TO_DATE(' 2023-04-02 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
      XEPDB1(3):TABLE SYS.WRI$_OPTSTAT_HISTGRM_HISTORY: ADDED INTERVAL PARTITION SYS_P363 (45016) VALUES LESS THAN (TO_DATE(' 2023-04-02 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
      2023-04-01T18:55:46.341732+00:00
      Warning: VKTM detected a forward time drift.
      Please see the VKTM trace file for more details:
      /opt/oracle/diag/rdbms/xe/XE/trace/XE_vktm_43.trc

  • @megajoe811
    @megajoe811 Год назад

    M1 compatibility has been added now!

    • @DatabaseStar
      @DatabaseStar  Год назад

      Oh wow! That’s great. Is this for all database images or just one of the new ones?

  • @WolfieDad67
    @WolfieDad67 3 дня назад

    2-2025...
    Just got the Free version working with the instructions on Oracle page with Podman.
    Need to set new SYS password and remove @free from the exec command.
    But, works fine.

  • @siddharthmehta4223
    @siddharthmehta4223 Год назад

    😐Listener refused the connection with the following error : ORA-12505, TNS: listener does not currently know SID given in connect descriptor.

    • @DatabaseStar
      @DatabaseStar  Год назад

      Have you put the right details in? Might be something Google can answer

  • @alitc300
    @alitc300 2 года назад

    Great Video, I have done exactly what was said in the Video but my connection from SQL Developer "Testing Connection" never ends. It runs and runs and... Do you know what to do?

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Hmm that’s odd. Sometimes I need to click on the screen for it to be updated. Perhaps that will help. Otherwise I’m not sure, it could be a question for Oracle.

  • @weijiephua4192
    @weijiephua4192 2 года назад

    Thanks, could u do a video regards to CDB vs PDB? Having trouble creating users

    • @DatabaseStar
      @DatabaseStar  2 года назад +2

      Good idea! I got this confused for so long when it was introduced so I can create a video on it.

    • @weijiephua4192
      @weijiephua4192 2 года назад

      @@DatabaseStar Appreciate thanks! looking forward

  • @felipe.dev-niel
    @felipe.dev-niel 2 года назад +1

    Hello! Nice video. Thank you for sharing this. I have a little question: where I can find the service name for connect with VScode (I've been struggling with this for days 😅)

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Could you use the SID of OraDoc to connect in VS Code (the same one shown in this video in SQL Developer)?

    • @alexsal6069
      @alexsal6069 2 года назад

      I’m facing the same issue, followed your video on Oracle tools for VSCode and this video for creating the db inside a docker but I can’t find a way to connect the docker container using VSCode. I hope you could help us. TIA 😅

  • @agitacademy
    @agitacademy 4 месяца назад

    Cant find the environment file on the Oracle Page

    • @DatabaseStar
      @DatabaseStar  4 месяца назад

      I think they may have removed the environment file...

    • @agitacademy
      @agitacademy 4 месяца назад

      @@DatabaseStar ok, I've succeeded with it ...Thank 👍

  • @user-lw3vj1fs5m
    @user-lw3vj1fs5m Год назад

    Hi , how can i add a volume so that the data is not lost after restarting the container?

    • @DatabaseStar
      @DatabaseStar  Год назад

      Hey, I've created a video here to explain how to do that: ruclips.net/video/-pzptvcJNh0/видео.html

  • @josuepimentel2488
    @josuepimentel2488 2 года назад

    perfectly helpful.. thank you!

  • @KenjiVdusc
    @KenjiVdusc 2 года назад

    Since I am new to the whole docker thing, i wonder tho - i set it up on a headless linux machine - so far so good - however, since i dont have only the shell, how would i access it? And configure it for network access - since it does not seem to work out of the box (The Network Adapter could not establish the connection)

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Hmm good question. I'm not sure what a "headless linux machine" is and how you would access it without the shell. I'm still learning Docker myself so I'm not sure how to resolve this issue.

    • @KenjiVdusc
      @KenjiVdusc 2 года назад

      @@DatabaseStar Headless in meaning, no display-output, i remote SSH-into it. However, accessing it externally seems to work theoretically (using DataGrip), if i use the ip of the docker-host.
      Problem is now,
      ORA-01017: invalid username/password; logon denied
      The password set in the ora_Db_env.dat-file does not work for the SYS-User or any other i could think of (SYSADM, SYSDBA, …).
      A problem is, that there is no SQL-PLUS available within the docker shell, so i can't natively navigate through the DB.

    • @KenjiVdusc
      @KenjiVdusc 2 года назад

      @@DatabaseStar Got it set up - seemingly, the setup i had it run on was a bit picky about which user starts the container. While not failing to create the container, it somehow refused to do all the things (logs of the setup indicated some weird behaviour).
      Re-"installing" it as bare root (not sudo) somehow gave it the right permissions. My guess would be, that some kind of background-service inherits the callers rights/roles and probably loses the sudo-attribute.

  • @dreaminginrgb6165
    @dreaminginrgb6165 2 года назад

    while trying to connect from sql developer , getting io error. network adapter could not establish connection

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Aah. Is the database running? Is the SID entered correctly in the connection window?

    • @KenjiVdusc
      @KenjiVdusc 2 года назад

      Same issue, it seems correct, but i try to connect from a network-client not from the local machine itself

  • @ashribadmohanty4366
    @ashribadmohanty4366 2 года назад

    Is there any other way to install oracle database on Apple M1 apart from the Cloud account? I am having problems while creating the Oracle cloud account. Please help!

    • @bakyayita
      @bakyayita 2 года назад

      M1 that’s a no go zone…

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Not that I know of, unfortunately! Oracle's support of Macs has been pretty poor, including the M1 computers which have been out for a couple of years.
      I've seen articles of people using different tools and settings but I'm not familiar with them or how robust they are.

  • @ShyyyboY
    @ShyyyboY 3 месяца назад

    Repository
    cman
    enterprise Oracle Database Enterprise Edition
    gsm Oracle Global Service Manager
    instantclient Oracle Instant Client
    microtx-ee-console Oracle Transaction Manager for Microservices(MicroTx) Console
    microtx-ee-coordinator Oracle Transaction Manager for Microservices (MicroTx) Enterprise Edition
    which repository should I select

    • @DatabaseStar
      @DatabaseStar  3 месяца назад

      I think enterprise edition but I’m not sure.

  • @laurallinares4456
    @laurallinares4456 2 года назад +1

    Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=YlC/dMqzQTeyZiKcGz4uIQ==)
    I had this error while trying to create a new connection. All I did before succeed so idk where is the problem. thanks for your help sir

    • @DatabaseStar
      @DatabaseStar  2 года назад

      I am guessing that perhaps the docker container is not running. I think other commenters may have had this issue. But I'm not sure.

    • @ihorvolkov5600
      @ihorvolkov5600 2 года назад

      hey laura, please check my answer to the comment above.

  • @bcassilhas
    @bcassilhas 2 года назад

    I created an image succesfully as it is active on "docker ps", but when i open SQL DEVELOPER, the "connections" menu is disabled (the green "+" is not appearing aswell). Do you know what it is?

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Oh I've never seen that before actually!

  • @niveditha5578
    @niveditha5578 2 года назад

    Thank you for thr video.
    But it is version 12.1
    How to use for versions 12.2 or higher?
    Please reply

    • @DatabaseStar
      @DatabaseStar  2 года назад

      This is dependent on the version that Oracle provides. If they only have 12.1 here then that's the version we need to use :(

  • @judiTOMBO
    @judiTOMBO Год назад +1

    it show me ""Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=qfKEBaibRGWTyeAj8HxXKA==) when i try to connect it with sqldeveloper

    • @DatabaseStar
      @DatabaseStar  Год назад +1

      That’s strange. Is the container running and still in the starting status?

    • @baskhuubatpurev1307
      @baskhuubatpurev1307 Год назад

      I faced same issue. Did you solve it? (I followed exactly the same procedure as in this video)

    • @baskhuubatpurev1307
      @baskhuubatpurev1307 Год назад

      2023-08-07 21:31:37 The Oracle base remains unchanged with value /opt/oracle
      2023-08-07 21:31:37 #####################################
      2023-08-07 21:31:37 ########### E R R O R ###############
      2023-08-07 21:31:37 DATABASE SETUP WAS NOT SUCCESSFUL!
      2023-08-07 21:31:37 Please check output for further info!
      2023-08-07 21:31:37 ########### E R R O R ###############
      2023-08-07 21:31:37 #####################################
      2023-08-07 21:31:37 The following output is now a tail of the alert.log:
      2023-08-07 21:31:37
      2023-08-07 21:31:37 XDB initialized.
      2023-08-07 21:31:37 ALTER PLUGGABLE DATABASE FREEPDB1 SAVE STATE
      2023-08-07 21:31:37 Completed: ALTER PLUGGABLE DATABASE FREEPDB1 SAVE STATE
      2023-08-07 21:31:37 2023-08-02T07:04:05.971617+00:00
      2023-08-07 21:31:37 ALTER SYSTEM SET control_files='/opt/oracle/oradata/FREE/control01.ctl' SCOPE=SPFILE;
      2023-08-07 21:31:37 2023-08-02T07:04:06.004362+00:00
      2023-08-07 21:31:37 ALTER SYSTEM SET local_listener='' SCOPE=BOTH;
      2023-08-07 21:31:37 ALTER PLUGGABLE DATABASE FREEPDB1 SAVE STATE
      2023-08-07 21:31:37 Completed: ALTER PLUGGABLE DATABASE FREEPDB1 SAVE STATE

  • @tonycavanagh1929
    @tonycavanagh1929 2 года назад

    Standard has been removed. what should we use instead

    • @DatabaseStar
      @DatabaseStar  2 года назад +2

      That's odd. I'm not sure why. I've asked around on Twitter. For now, you could try the Express Edition.

    • @tonycavanagh1929
      @tonycavanagh1929 2 года назад

      @@DatabaseStar Yes I am using Express Edition, on got it working. Its been removed, but no reason why.

  • @sameerkurhade6436
    @sameerkurhade6436 Год назад

    Hello Sir,
    I tried to connect sql developer to docker but i cant connect i have use macbook pro m2 , i have to try allso virtulbox but i cant to connect sql developer plz help me sir

    • @sameerkurhade6436
      @sameerkurhade6436 Год назад

      any other option is available for connect sql developer to orcale database in mac m2 os plz help me

    • @DatabaseStar
      @DatabaseStar  Год назад

      Hey, I have the same MacBook and have the same issue. The only way I know of is to use the Oracle Free Cloud. I have a video on how to set this up on my channel.
      I have recently read there may be a virtual box image, or use Docker with a service called Colima, but I haven’t tried either one.

  • @miguelramalho8563
    @miguelramalho8563 2 года назад

    great video!!!

  • @bakyayita
    @bakyayita 2 года назад

    Thanks 🎉 🎉 can you add on apex+ords ?

    • @DatabaseStar
      @DatabaseStar  2 года назад

      I assume you can, but I've got no experience with that.

  • @negi.priyanka
    @negi.priyanka 2 года назад

    Hello. Does that process still not work on mac m1?

    • @DatabaseStar
      @DatabaseStar  2 года назад

      As far as I know it still doesn't work. I don't know if Oracle has released updated images.

  • @greatsunday4780
    @greatsunday4780 2 года назад

    It is very helpful.

  • @edhahaz
    @edhahaz 11 месяцев назад

    What a pain. Container running with environment variables set from the .dat file, connection doesn't work. No way to debug.

    • @DatabaseStar
      @DatabaseStar  11 месяцев назад

      Yeah it is a bit of a hassle with this Oracle setup. Docker containers with other databases are a bit easier to set up.
      Why doesn't your connection work? What error are you getting?

  • @ryanstephanus
    @ryanstephanus 2 года назад

    I got the following error in SQL Developer when trying to test connection:
    Status : Failure -Test failed: IO Error: Got minus one from a read call, connect lapse 17 ms., Authentication lapse 0 ms.
    MacOS 10.12 Docker Community Edition 17.03. Docker is running,

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Hmm I’m not sure what that error means or what the solution could be unfortunately. Could you restart the Docker image? Or check the port numbers on Docker match those in sql developer? Otherwise hopefully Google can help.

    • @ryanstephanus
      @ryanstephanus 2 года назад

      @@DatabaseStar thanks for the reply, I really appreciate it. However after many failed attempts, I've tried another workaround using virtual box and it worked

  • @HamidShehzad-bs8dw
    @HamidShehzad-bs8dw 9 месяцев назад

    you chose standard version but now standard version is not there

    • @abdelmouncifmoussaoui2878
      @abdelmouncifmoussaoui2878 9 месяцев назад

      same here😥

    • @DatabaseStar
      @DatabaseStar  9 месяцев назад

      Ah yes I think Oracle occasionally changes the images that appear. I’ll be creating a newer video on this soon. And I can look up what the best image is and add it to the description of this video.

  • @hadjerjoo6744
    @hadjerjoo6744 2 года назад

    Thank you so much !

  • @dev.daniels
    @dev.daniels 2 года назад

    How can I connect to eclipse ?

    • @DatabaseStar
      @DatabaseStar  2 года назад

      You could use the same connection details used in this video to connect from Eclipse to the database.

  • @jonattansalcedo6924
    @jonattansalcedo6924 2 года назад

    When I go to Oracle Container Registry there is no longer a configuration file. I'm referring to the code you copy and then pasted on a new file and included in your command --env-file ./Documents/ora_db_env.dat. Could you share the contents of that file or what would be the right process now that is not available?

    • @DatabaseStar
      @DatabaseStar  2 года назад +1

      Thanks for letting me know! I've added a link to that file in the Description, and it's here as well: dbshostedfiles.s3.us-west-2.amazonaws.com/dbs/ora_db_env.dat

  • @dogancanaslan8263
    @dogancanaslan8263 2 года назад

    when ı try to login using terminal and download image, ı get a error like password required.

    • @dogancanaslan8263
      @dogancanaslan8263 2 года назад

      what's ur advice? thanks in advance

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Have you tried entering the password? In the process in this video you need an account on the Oracle website.

  • @sourabhjambale13
    @sourabhjambale13 2 года назад

    I'm getting the following error Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=ruVolIKOTp61CIqPkElRKw==)
    Now, I have both the downloaded and extracted oracle db image and it is taking 8gb of space. Is there a way I can delete the downloaded file while keeping the extracted file?

    • @DatabaseStar
      @DatabaseStar  2 года назад

      I think there are some commands to remove the image and/or the container. I'm not sure what they are off the top of my head, but should be available on the docker website.

    • @sourabhjambale13
      @sourabhjambale13 2 года назад

      @@DatabaseStar thank you. How can I resolve the error?

    • @DatabaseStar
      @DatabaseStar  2 года назад

      I don't remember the exact solution but I do remember some people having this error and commenting in this video or my other Oracle Docker video. Is the container running? Is the port the same in the IDE and in the container?

  • @junioretso96
    @junioretso96 2 года назад

    I did configuration with docker in Linux and windows. When I try to connect with db in both responses, got this:
    cx_Oracle.DatabaseError: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Hmm that's odd. The only issue I can think of is that the connection details don't match what is expected for the Oracle image.

    • @junioretso96
      @junioretso96 2 года назад

      @@DatabaseStar I think same but I followed the same steps of your video. When I try to connect with SQL developer goes that error. Also, I checked environment variables with docker inspect and looks well, nothing wrong. I did a telnet with direction and port of DB and reached successfully. I don't know how to check inside the docker if the DB is well configured, you know how to make a SQL statement inside docker to check if DB is working normal?

  • @javizamudio7688
    @javizamudio7688 2 года назад

    Bro, Oracle's documentation is totally camel shit. It never said anything you just taught. Like going to the registry, or having to login via docker >:(. Im glad i found your video

    • @DatabaseStar
      @DatabaseStar  2 года назад +1

      Yeah the documentation is pretty hard to follow sometimes. Glad you liked this video.

  • @Sotelord
    @Sotelord 2 года назад

    This video is great. Never the less, I got an error I wish someone could help me.
    The oracle-std image is up and running in Docker, but i get the following error message:
    An error was encountered performing the requested operation:
    IO Error: Got minus one from a read call, connect lapse 2 ms., Authentication lapse 0 ms.
    Vendor code 17002

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Ah I haven't seen that error before, but I think there are other comments with the same issue.

  • @educationtatva
    @educationtatva 2 года назад

    Very useful video. I stuck while docker run with environment file. WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

    • @educationtatva
      @educationtatva 2 года назад +1

      Oh Seems like it ran after adding --platform linux/amd64

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Good to know you got it running. I would have assumed it was because you're running the new Mac CPUs but if you got it working then it's OK.

  • @souravshome2602
    @souravshome2602 2 года назад

    Sir, please help me.. How to install Oracle 19c on mac? I have Macbook Air 128 gb 2017, mojave, 8 gb ram, intel i5 processor. Sir if you have any video regarding oracle 19c installation on mac, then please put the link of that video in my comment. and suggest me how to install. Thank you Sir.

    • @DatabaseStar
      @DatabaseStar  2 года назад

      I don't have anything for 19c specifically, as it's a few versions older. You could either try a Virtual Machine (the VirtualBox files that can be downloaded from the Oracle website), or a Docker image. Why do you need to use 19c? Can you use the newer versions instead?

  • @dsawithpratik
    @dsawithpratik Год назад

    Informative 😍 , but Oracle have updated the web-site.

    • @DatabaseStar
      @DatabaseStar  Год назад

      Thanks! Yeah they update it pretty often from what I've seen.

  • @parambharti7095
    @parambharti7095 2 года назад

    Awesome. Thanks

  • @alexandrabindiu2724
    @alexandrabindiu2724 Год назад

    Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=ArNNLkqnS2Or6wLziWLZ9g==)

    • @DatabaseStar
      @DatabaseStar  Год назад

      Are you using the connection details provided by Oracle on their page?

  • @vincentadams3807
    @vincentadams3807 2 года назад

    Thanks for the video man. I despise oracle, they make everything so complicated....

    • @DatabaseStar
      @DatabaseStar  2 года назад

      No problem, glad it was helpful!

  • @jephtahogyefoacquah5524
    @jephtahogyefoacquah5524 2 года назад +1

    You are the best okay

  • @yingyingz9724
    @yingyingz9724 2 года назад

    This video is sick. Unfortunately, I got error with docker run. I get the following error: docker: poorly formatted environment: variable '\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;}' contains whitespaces.
    See 'docker run --help'. 😂

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Thanks! I'm not sure what that means or how to resolve it unfortunately.

    • @kurmi_santosh
      @kurmi_santosh 2 года назад

      You might be using textEdit. Please use Atom and save the env file.

    • @greatsunday4780
      @greatsunday4780 2 года назад

      @@kurmi_santosh thanks, you are very helpful.

  • @gorakhnathupadhyaygarry
    @gorakhnathupadhyaygarry 2 года назад

    thanks but please share the env file.

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Which env file are you referring to?

  • @georgejetson9801
    @georgejetson9801 Год назад +2

    Oracle sure makes it difficult to do something simple.

    • @DatabaseStar
      @DatabaseStar  Год назад +1

      They sure do!

    • @georgejetson9801
      @georgejetson9801 Год назад

      @@DatabaseStar I was spinning up different database containers that took all of 10 minutes until I got to ....dark ominous music...Oracle
      Ok ok, I admit, I'm completely spoiled. I can recall installing Oracle using 14 or 15 floppy disks in the correct order.

  • @leedy8135
    @leedy8135 7 месяцев назад

    i cant understand ...

    • @DatabaseStar
      @DatabaseStar  6 месяцев назад

      What part of it is hard to understand? Happy to help explain it.

  • @Jeromegilgen
    @Jeromegilgen 2 года назад

    Thank you for the incredible video.
    Unfortunately, I can't connect to the Docker container on my Mac. I get the following error whenever I try to connect with SQL Developer (The Docker Container is running):
    "An error occurred while performing the requested operation:
    I/O error: The Network Adapter could not establish the connection.
    Vendor code 17002".
    Would you have any idea or approach how I could solve the problem.
    Google could not help me at this point.

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Hmm... are you using the same connection details in this video? Are you using an M1 Mac? If it's an M1 Mac, then I don't think the Docker containers are compatible with them yet.

    • @Jeromegilgen
      @Jeromegilgen 2 года назад

      @@DatabaseStar I use the same connection settings as described in the video. My Macbook has an i5 chip. I have not found a solution yet. I can't tell if the listener is listening because the command "lsnrctl state" doesn't work.

  • @qixia10
    @qixia10 2 года назад +1

    M1 Mac 0:35

  • @wildhandb
    @wildhandb 2 года назад

    ORA-12537: TNS Connection Closed

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Does this happen when you connect or when you try to run a query or some other time?

  • @pranshuc
    @pranshuc Год назад

    Still, Apple chip isn't supported by Oracle, what a joke!

    • @DatabaseStar
      @DatabaseStar  Год назад +2

      I know, it’s been years and other databases support it, but not Oracle

  • @MohsenTaheri84
    @MohsenTaheri84 11 месяцев назад

    Like

  • @retropaganda8442
    @retropaganda8442 8 месяцев назад

    Thumb down for using the Macintosh OS. Nobody uses that in the business!

    • @DatabaseStar
      @DatabaseStar  8 месяцев назад

      Hah! I’ve seen about a 50/50 split between MacOS and Windows in the last few years for developers!

  • @theobloquet39
    @theobloquet39 2 года назад

    Thanks for this video. I got the error :
    Statut : échec -Echec du test : Erreur d'E/S: The Network Adapter could not establish the connection
    I didn't write "my.local.domain" but the ip address of my machine on my network because my docker is not on my localhost.
    //// EDIT ////
    Solved: I have entered the IP address of my remote machine in my hosts file so that I can use my.domain.local and it works.

    • @DatabaseStar
      @DatabaseStar  2 года назад

      Glad to hear you got it working

    • @shinnize
      @shinnize 2 года назад

      You did for the docker part since doker is supposed to generate ips by components but these are not linked in the network bridge?

  • @pratikbarbudhe4041
    @pratikbarbudhe4041 2 года назад

    it is showing this error after entering password Password:
    error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Post "%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/auth": open //./pipe/docker_engine: The system cannot find the file specified.

    • @pratikbarbudhe4041
      @pratikbarbudhe4041 2 года назад

      Please help

    • @pratikbarbudhe4041
      @pratikbarbudhe4041 2 года назад

      IN windows

    • @DatabaseStar
      @DatabaseStar  2 года назад +1

      Hmm I’m not sure what that means. Perhaps you need admin rights on your computer to run Docker? Do you have an admin account or admin rights?

    • @pratikbarbudhe4041
      @pratikbarbudhe4041 2 года назад

      @@DatabaseStar I Dont have admin account or admin rights. Sir

    • @DatabaseStar
      @DatabaseStar  2 года назад +2

      Ah, that may be the issues. But I'm not sure. You could Google the error to see if others have the same problem and solution.

  • @meghnadsaha2469
    @meghnadsaha2469 10 месяцев назад

    Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=rezHgpboQvSiDty4ZgAnCw==)