How To Load Database In PostgreSQL Using CMD Command Prompt Or PSQL Command Prompt | PostgreSQL Tips

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 30. 07. 2020
  • #knowledge360 #akramsohail #akramsohailproject
    You Are Hearty Welcomed To My Channel Knowledge 360.
    Here I post technical videos, mainly related to computer science and programming.
    I am posting project videos with coding explanations. I make tutorial videos on Technical Topics.
    Stay Connected, Stay Tuned, Study Smart.
    - Knowledge 360 ( Akram Sohail )
    Only 3.9% of viewers are subscribing to my channel 😓.
    I request you to please give click on Subscribe button.
    It really helps me grow 😱.
    Please Like, Comment, and Subscribe to my channel. ❀
    Follow me on Social Media
    --------------------------------------------------
    Facebook - / sonu.babu.5872682
    Instagram - / akkubakku007
    google+ - plus.google.com/u/0/116728183...
    Blog - knowledge360blog.blogspot.in/
    Business/Mentorship - knowledge.360.knowledge@gmail.com
    Commands - knowledge360blog.blogspot.com/...
    Topics
    ---------
    Oracle
    MySQL
    PostgreSQL
    SQL Server
    PHP
    C
    C++
    Python
    Java
    JavaScript
    HTML/CSS
    jQuery
    Ajax
    Bootstrap
    Angular
    Linux
    Ubuntu
    Windows
    Miscellaneous

Komentáƙe • 36

  • @Knowledge360Channel
    @Knowledge360Channel  Pƙed 2 lety +2

    *Please help me get that beautiful CZcams Silver button. Do subscribe to the channel if my video was helpful.* ❀

  • @moverecursus1337
    @moverecursus1337 Pƙed 2 lety +5

    Indian Tech's are the best peoples of the world. Thank You very much!!! Helped a Lot!

  • @dilatriarini948
    @dilatriarini948 Pƙed rokem +1

    thanks a lot! your tutorial just saved me! i spent hours looking for solution since i could not restore my .sql file.
    your video explained it clearly! wish i could find your video sooner

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed rokem

      You're most welcome 😇... I'm happy that I could help you. Please subscribe to my channel to support me.

  • @OmidMahdawi-pg6wg
    @OmidMahdawi-pg6wg Pƙed 9 dny

    ❀❀❀❀
    Thanks a million

  • @akramsohail4322
    @akramsohail4322 Pƙed 2 lety +1

    Thanks for the video.

  • @sweetasarkar2502
    @sweetasarkar2502 Pƙed 4 měsĂ­ci +1

    Thank you for the direction, I would like to add for psql, the command seems to be different which is:
    C:\Program Files\PostgreSQL\12\bin>psql -U postgres -d Employee_db -h localhost -f C:\Users\Sweeta\OneDrive\Desktop\Ramesh_sir_Data_sc\P2employee_db\employee_db\Analytics_2_handson2\employees_schema.sql
    after -f just paste your schema file's path

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed 4 měsĂ­ci

      Thanks for your insights. I appreciate it. -f (lower case f) is for file and -F (upper case F) is for file format. To avoid confusion, I used the other way to explain the command.

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed 2 měsĂ­ci

      *Please help me get that beautiful CZcams Silver button. Do subscribe to the channel if my video was helpful.* ❀

  • @sksadabiqbal9773
    @sksadabiqbal9773 Pƙed 2 lety +1

    Nice trick

  • @aginamabednego
    @aginamabednego Pƙed 2 lety +1

    Thank you so much

  • @rajaiawadaljamous337
    @rajaiawadaljamous337 Pƙed 3 lety +2

    I try to load sql to postgres, but it says the file is not found despite everything is right, do you have something to fix the problem and make it possible to system to find the file?

  • @prasadadsul8703
    @prasadadsul8703 Pƙed 2 lety +1

    thank you so much ..... very useful...!!!

  • @akramsohail6693
    @akramsohail6693 Pƙed 2 lety

    good

  • @ujwalpednekar8841
    @ujwalpednekar8841 Pƙed rokem +1

    Thank you really worked for me

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed rokem

      You're welcome 😊...please subscribe to my channel to support me.

  • @suhasgali4796
    @suhasgali4796 Pƙed 2 lety +1

    Thanks a lot it helped bro..

  • @mosahebuddin1877
    @mosahebuddin1877 Pƙed rokem +1

    Thanks

  • @SyedSaqibJamal
    @SyedSaqibJamal Pƙed rokem +1

    I have .pgsql file how can i import this file using Postgrel or pgadmin GUI or command line (psql)?

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed rokem

      I haven't come across.pgsql.file yet. If you can convert it to .Bak or .sql then, it's simple to import.

  • @user-jk5gh6hf3y
    @user-jk5gh6hf3y Pƙed 9 měsĂ­ci +1

    this was amazing.

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed 9 měsĂ­ci

      Thank you 😊

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed 2 měsĂ­ci

      *Please help me get that beautiful CZcams Silver button. Do subscribe to the channel if my video was helpful.* ❀

  • @shivannagn5191
    @shivannagn5191 Pƙed 3 lety +1

    Can I load osm.pbf file also

  • @user-su1lr8gt1z
    @user-su1lr8gt1z Pƙed rokem +1

    how to open pgadmin on browser cmd ?

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed rokem

      In earlier versions, PgAdmin used to open in a default browser when you open the PgAdmin application. But now it opens in a separate application itself.
      And, to connect PostgreSQL through the command prompt, there's a tool that comes with PostgreSQL installation is 'psql'.
      Please subscribe to my channel to support me 😊

  • @nitinsharma2019
    @nitinsharma2019 Pƙed rokem +1

    Hey...i am new to sql so can you tell ....what is thos tar file???

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed 11 měsĂ­ci

      Full name. Tape Archive (tar) File Format. Description. A tar (tape archive) file format is an archive created by tar, a UNIX-based utility used to package files together for backup or distribution purposes.

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed 2 měsĂ­ci

      *Please help me get that beautiful CZcams Silver button. Do subscribe to the channel if my video was helpful.* ❀

  • @shivannagn5191
    @shivannagn5191 Pƙed 3 lety +1

    What is cd 12 here

    • @Knowledge360Channel
      @Knowledge360Channel  Pƙed 3 lety

      CD means Change Directory
      And 12 is a Directory in your system if you have installed PostgreSQL 12