Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011
    Posts
    14

    Unanswered: automatically create a database right after installing

    I am trying to automatically create a database right after installing
    postgres8.4 from windows command prompt .i already install postgresql 8.4 silently from command prompt, but now i have to create a database.
    actually i have to do both the things installing postgresql8.4 and creating database wtih single command .what is the best way to do this ?


  2. #2
    Join Date
    May 2008
    Posts
    277
    Create a shell script (I guess in windows that would be BAT file) that:

    1) Runs the installer
    2) Creates the database

  3. #3
    Join Date
    Apr 2011
    Posts
    14

    thanks

    hi,
    thanks a lot its work

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •