Re: [GENERAL] PostgreSQL on Webmin

2009-03-16 Thread Robert Treat
On Monday 16 March 2009 17:55:00 Kostadin Solakov wrote: > John R Pierce wrote: > > thats odd, as a domain socket should be slightly -faster- than a tcp/ip > socket. now, since you say 'previous host' I could wonder if other > configuration items are impacting this, such as buffer sizes in > post

Re: [GENERAL] PostgreSQL on Webmin

2009-03-16 Thread Kostadin Solakov
John R Pierce wrote: thats odd, as a domain socket should be slightly -faster- than a tcp/ip socket. now, since you say 'previous host' I could wonder if other configuration items are impacting this, such as buffer sizes in postgresql.conf, relative speed of disk controllers, etc. or perhap

Re: [GENERAL] PostgreSQL on Webmin

2009-03-16 Thread John R Pierce
Kostadin Solakov wrote: Anyway I managed to connect to localhost, but after I made changes to pg_connect and I removed the host name FROM 1. pg_pconnect("host=localhost dbname=mydb user=myuser password=mypassword"); TO 1. pg_pconnect("dbname=mydb user=myuser password=mypassword"); Now

Re: [GENERAL] PostgreSQL on Webmin

2009-03-16 Thread Kostadin Solakov
127.0.0.1/32 ident sameuser 8. hostall all ::1/128 ident sameuser -Original Message- From: John R Pierce [mailto:pie...@hogranch.com] Sent: Monday, March 16, 2009 2:25 AM To: Kostadin Solakov Cc: pgsql-general@postgresql.org Subject:

Re: [GENERAL] PostgreSQL on Webmin

2009-03-15 Thread John R Pierce
Kostadin Solakov wrote: Hi there! I just installed Webmin on my dedicated server and I really had hard time making all configuration that were needed to migrate my site. Anyway, now everything is working except for one thing. I can’t connect to the database through PHP. Remote connection is

[GENERAL] PostgreSQL on Webmin

2009-03-15 Thread Kostadin Solakov
Hi there! I just installed Webmin on my dedicated server and I really had hard time making all configuration that were needed to migrate my site. Anyway, now everything is working except for one thing. I can't connect to the database through PHP. Remote connection is working fine, but local doe