IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

PostgreSQL Discussion :

Pb de configuration phpPgAdmin-3.0.1-1 sous Redhat9


Sujet :

PostgreSQL

  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Avril 2003
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2003
    Messages : 15
    Points : 14
    Points
    14
    Par défaut Pb de configuration phpPgAdmin-3.0.1-1 sous Redhat9
    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; 
     
    ?>

  2. #2
    Membre habitué
    Inscrit en
    Mai 2003
    Messages
    146
    Détails du profil
    Informations forums :
    Inscription : Mai 2003
    Messages : 146
    Points : 172
    Points
    172
    Par défaut
    le problème ne vient pas de ce fichier mais plutot du fichier hb_conf de postgresql. Il faut aussi lancer le serveur avec l'option -i

  3. #3
    Membre à l'essai
    Profil pro
    Inscrit en
    Avril 2003
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2003
    Messages : 15
    Points : 14
    Points
    14
    Par défaut ouf !!
    Tout est bien expliqué ici

    http://trustonme.net/didactels/?rub=183#postgresql_install

    le problème n'etait pas du à phpPgAdmin mais à la configuration des fichiers .conf de postgres...

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 3
    Dernier message: 10/11/2006, 14h20
  2. Configurer un serveur FTP avec IIS sous XP Pro
    Par Laure4878 dans le forum IIS
    Réponses: 3
    Dernier message: 02/09/2006, 23h50
  3. Configurer carte WIFI de mon portable sous Ubuntu
    Par Premium dans le forum Matériel
    Réponses: 23
    Dernier message: 03/03/2006, 14h27
  4. Réponses: 1
    Dernier message: 26/08/2005, 13h39
  5. configurer phppgadmin
    Par yech dans le forum PostgreSQL
    Réponses: 1
    Dernier message: 04/05/2004, 13h51

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo