Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Location
    Malibu, CA
    Posts
    117

    Short Easy Job for Postgresql

    This is on-time job done in 30 min.

    I asked somebody to install postgresql and php modules for postgresql, and he completed.

    I created username as

    [email protected] [~]# su - postgres
    bash-2.05a$ createuser sky-mco
    Shall the new user be allowed to create databases? (y/n) y
    Shall the new user be allowed to create more new users? (y/n) n
    CREATE USER
    bash-2.05a$ createuser clinical
    Shall the new user be allowed to create databases? (y/n) y
    Shall the new user be allowed to create more new users? (y/n) n
    CREATE USER

    But, the following error appears.
    <html>
    <head>
    <title></title>
    </head>
    <body>
    <?php
    $con=pg_connect("","","","","psycho");

    if($con == false){
    echo "接続できません・・・";
    }
    else{
    echo "接続できました!";
    }
    ?>
    </body>
    </html>
    を実行させると、

    Warning: pg_connect() unable to connect to PostgreSQL server: FATAL 1: user "nobody" does not exist in /home/clinical/public_html/postgre.php on line 7


    Anyone could fix this?

    I will pay $25.

    I will tell my account and pay it to your paypal email.

    Thank you very much.

    Joe.

  2. #2
    Hello copecod,

    You have a PM with the solution.

    Bye.

  3. #3
    or it's too late ?

Posting Permissions

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