Re: PostgreSql question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Extra to the last message

Set Method to (trust) in vi /var/lib/pgsql/data/pg_hba.conf if no security is needed.

 # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:
host    all         all         ::1/128               trust


2010/7/20 Thierry Vanden Broucke <cloudyvdb@xxxxxxxxx>
#selinuxenabled 0
#/etc/init.d/postgresql restart
#psql -U postgres 



2010/7/20 Nermin Celik <n.celik00@xxxxxxxxx>
Hi All,

I've downloaded PostgreSql from http://yum.pgsqlrpms.org/8.3/, however when I try access it from the termnial line it doesn't work and gives the following warning.

$ psql
psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[celik@cicek ~]$

Can I please have some tips to get started? Also I using Fedora12.

Thank you is in advance, and may you all have a nice day.

N




--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines




--
Thierry Vanden Broucke
Linux User - 415586
Oracle ID - SR3276201
Oracle Database 10G Certified Associate
Oracle Application Server 10G Certified Associate
Cel. +55 71-9158-3495




--
Thierry Vanden Broucke
Linux User - 415586
Oracle ID - SR3276201
Oracle Database 10G Certified Associate
Oracle Application Server 10G Certified Associate
Cel. +55 71-9158-3495

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux