PostgreSql question

Nermin Celik n.celik00 at gmail.com
Wed Jul 21 01:31:28 UTC 2010


Thank you Thierry :)

On Wed, Jul 21, 2010 at 11:22 AM, Thierry Vanden Broucke <
cloudyvdb at gmail.com> wrote:

> 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 at gmail.com>
>
> #selinuxenabled 0
>> #/etc/init.d/postgresql restart
>> #psql -U postgres
>>
>>
>>
>> 2010/7/20 Nermin Celik <n.celik00 at gmail.com>
>>
>>> 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 at 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 at lists.fedoraproject.org
>>> 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 at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100721/e73c30e1/attachment.html 


More information about the users mailing list