From: Dan W. <kil...@us...> - 2002-04-09 03:21:15
|
Vikas, These types of questions need to go to the mailing list [php...@li...]. -Dan ----- Original Message ----- From: "Vikas Madhavan Alathur" <vm...@em...> To: <kil...@us...> Sent: Sunday, April 07, 2002 8:45 AM Subject: myPGadmin problems : Hi Dan, : : I use postgresql-6.5.3-26 running on a Debian 2.2r4 : : After untarring the contents to /var/www, I tried to : look at the homepage. There I get a login screen. I : enter "root" and the corresponding password and I get : "Wrong username/password. Access denied." error. : : I try psql -u, and enter username (root) and password, : and everything works fine. : : Here is some data: : : --------- : /etc/postgresql/pg_hba.conf : : local all password : host all 127.0.0.1 255.255.255.255 password : --------- : : No luck with "password" replaced by "trust" : : -------------- : config.inc.php : : : $cfgServers[1]['local'] = false; : $cfgServers[1]['host'] = 'localhost'; : $cfgServers[1]['port'] = '5432'; : $cfgServers[1]['adv_auth'] = true; : : $cfgServers[1]['user'] = ''; // if you are not using adv_auth, enter the username to connect all the time : $cfgServers[1]['password'] = ''; // if you are not using adv_auth and a password is required enter a password : $cfgServers[1]['only_db'] = ''; // if set to a db-name, only this db is accessible : --------------- : : What will I need to do? : : I find postgresql a lot more complicated than mysql : mainly due to lack of good newbie documentation. : : Thanks, : Vikas. : : : : : |