Results 1 to 1 of 1
Aug 1, 2011, 13:42 #1
- Join Date
- Feb 2004
- Ottawa, Ont. Canada
- 0 Post(s)
- 0 Thread(s)
Postgresql script to createdb - Help
I am new to Postgresql.
I'm trying to write a simple script to create a database using variables for the user and password.
Something like in php: Variables $user, $password and $database
createdb $user $password -W --encoding=utf8 $database
Can someone tell me the correct syntax for this to work.