in reply to connect database

You want 'postgres' as the second argument. (With quotes)

Replies are listed 'Best First'.
Re^2: connect database
by Bass-Fighter (Beadle) on Jan 08, 2009 at 12:54 UTC
    well, that is acactly my problem, if I don't use quotes, use single quotes or double quotes... It doesn't matter :S

    look:
    with double quotes:
    Can't modify constant item in scalar assignment at geheeldb.txt line 9, near ""postgres","

    with single quotes:
    Can't modify constant item in scalar assignment at geheeldb.txt line 9, near "'postgres',"

    with no quotes at all:
    Can't modify constant item in scalar assignment at geheeldb.txt line 9, near "postgres,"

      I said, use 'postgres' as the second argument. I did not say to use user='postgres' as the second argument.