J'ai installé phpPgAdmin-3.0.1-1 sous Redhat 9 sans problème !
J'ai créée un utilisateur sous psql... J'arrive à faire des chose comme créer une base, une table etc...
Mais par contre j'aimerais bien utiliser phpPgAdmin-3.0.1-1 mais quand j'arrive à la page "phpPgAdmin 3.0.1 Loging" et que je tape le nom de l'utilisateur et le mot de passe crées sous psql on me dit : "Loging failed"
pouvez vous m'aider svp !
NB voici mon config.inc.php
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81 <?php /** * Central phpPgAdmin configuration. As a user you may modify the * settings here for your particular configuration. * * $Id: config.inc.php-dist,v 1.25 2003/06/19 01:45:09 chriskl Exp $ */ // An example server. Create as many of these as you wish, // indexed from zero upwards. $conf['servers'][0]['desc'] = 'PostgreSQL'; // Display name for server $conf['servers'][0]['host'] = '127.0.0.1'; // Hostname or IP address for server. // Null or '' indicates UNIX domain // socket. $conf['servers'][0]['port'] = 5432; // Database port on server $conf['servers'][0]['defaultdb'] = 'template1'; // Default database to connect to. // Only change this if your administrator // has disabled connections to template1. // Example for a second server //$conf['servers'][1]['desc'] = 'Dev Server'; //$conf['servers'][1]['host'] = '192.168.0.1'; //$conf['servers'][1]['port'] = 5432; //$conf['servers'][1]['defaultdb'] = 'template1'; // Default language setting. eg 'english', 'polish', etc. $conf['default_lang'] = 'english'; // Only show owned databases? // Note: This will simply hide other databases in the list - this does not // in any way prevent your users from seeing other database by other means. // (eg. Run 'SELECT * FROM pg_database' in the SQL area.) $conf['owned_only'] = false; // Display "system" objects? $conf['show_system'] = false; // Display reports feature? $conf['show_reports'] = true; // Only show owned reports? // Note: This does not prevent people from accessing other reports by other // means. $conf['owned_reports_only'] = false; // Minimum length users can set their password to. $conf['min_password_length'] = 1; // Width of the left frame in pixels (object browser) $conf['left_width'] = 200; // Which look & feel theme to use $conf['theme'] = 'default'; // Show OIDs when browsing tables? $conf['show_oids'] = false; // Max rows to show on a page when browsing record sets $conf['max_rows'] = 30; // Max chars of each field to display by default in browse mode $conf['max_chars'] = 50; // Send XHTML headers? Unless debugging, it's best to leave this off $conf['use_xhtml'] = false; // Where is local documentation of PostgreSQL? // /doc/ should be defined as an alias in httpd.conf - you shouldn't // allow http users accessing your /usr filesystem directly, via // file:// method! //$conf['docdir'] = '/doc/postgresql-7.2.1/html'; /***************************************** * Don't modify anything below this line * *****************************************/ $conf['version'] = 9; ?>
Partager