Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 04/03/2007, à 14:35

serguey

[resolu]You don't have permission to access phpmyadmin on this server.

bonjour après ré-installation d'apache2, php5, mysql 5 etc..

l'ouverture de la page : http://127.0.0.1/phpmyadmin/

provoque le message d'erreur suivant :

You don't have permission to access /phpmyadmin/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Question : comment modifier les droits d'accès à phpmyadmin ?

Merci

Dernière modification par serguey (Le 22/04/2007, à 00:51)


Grand est celui qui n'a pas perdu son coeur d'enfant - Mencius

Hors ligne

#2 Le 04/03/2007, à 18:22

Yaen

Re : [resolu]You don't have permission to access phpmyadmin on this server.

salut,
comme je ne suis pas avec toi devant l'ordinateur, je ne sais pas quelle distribution tu utilises. donc je t'envoies 2 liens qui traitent de lamp et où il est question de phpmyadmin.
http://doc.ubuntu-fr.org/serveur/lamp
http://doc.ubuntu-fr.org/serveur/lamp_bis

Dernière modification par Yaen (Le 04/03/2007, à 18:22)


Je joue à HL2, CSS, Stalker... avec mon pingouin d'amour.

Hors ligne

#3 Le 05/03/2007, à 02:40

serguey

Re : [resolu]You don't have permission to access phpmyadmin on this server.

salut Yaen

merci pour la réponse, j'utilise la distrib Kubuntu 6.10.
L'installation d'apache2, mysql 5.0, php5, et phpmyadmin a bien été faite à partir de l'info publiée sous le lien que tu m'as communiqué, en ligne de commande dans la console apt-get......
Malgré tout au lancement de phpmyadmin dans le navigateu (http://127.0.0.1/phpmyadmin), j'ai  le message d'erreur suivant :

Erreur #2002 - Le serveur ne répond pas. (ou l'interface de connexion ("socket") vers le serveur MySQL local n'est pas correctement configurée)

et là je ne vois pas ce qu'il faut faire pour accéder à la gestion des bases de données ????
---------------------------------------------------------------------------

mon fichier de configuration de phpmyadmin (config.inc.php) est le suivant (il n'y a pas de pass pour l'accès à phpmyadmin :

<?php
/**
* Debian local configuration file
*
* This file overrides the settings made by phpMyAdmin interactive setup
* utility.
*
* For example configuration see /usr/share/doc/phpmyadmin/examples/config.default.php.gz
*/

/**
* Server(s) configuration
*/
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;

// Uncomment to override the default configuration
$cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type']  = 'socket';    // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
//                                                    // (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings
//                                                    // (this user must have read-only
$cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user"
//                                                    // and "mysql/db" tables).
//                                                    // The controluser is also
//                                                    // used for all relational
//                                                    // features (pmadb)
$cfg['Servers'][$i]['auth_type']     = 'cookie';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
$cfg['Servers'][$i]['password']      = '';          // MySQL password (only needed
//                                                    // with 'config' auth_type)
$cfg['Servers'][$i]['only_db']       = '';          // If set to a db-name, only
//                                                    // this db is displayed in left frame
//                                                    // It may also be an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose']       = '';          // Verbose name for this host - leave blank to show the hostname
//
$cfg['Servers'][$i]['pmadb']         = 'phpmyadmin';// Database used for Relation, Bookmark and PDF Features
//                                                    // (see scripts/create_tables.sql)
//                                                    //   - leave blank for no support
//                                                    //     DEFAULT: 'phpmyadmin'
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';// Bookmark table
//                                                    //   - leave blank for no bookmark support
//                                                    //     DEFAULT: 'pma_bookmark'
$cfg['Servers'][$i]['relation']      = 'pma_relation';// table to describe the relation between links (see doc)
//                                                    //   - leave blank for no relation-links support
//                                                    //     DEFAULT: 'pma_relation'
$cfg['Servers'][$i]['table_info']    = 'pma_table_info';// table to describe the display fields
//                                                    //   - leave blank for no display fields support
//                                                    //     DEFAULT: 'pma_table_info'
$cfg['Servers'][$i]['table_coords']  = 'pma_table_coords';// table to describe the tables position for the PDF schema
//                                                    //   - leave blank for no PDF schema support
//                                                    //     DEFAULT: 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages']     = 'pma_pdf_pages';// table to describe pages of relationpdf
//                                                    //   - leave blank if you don't want to use this
//                                                    //     DEFAULT: 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info']   = 'pma_column_info';// table to store column information
//                                                    //   - leave blank for no column comments/mime types
//                                                    //     DEFAULT: 'pma_column_info'
$cfg['Servers'][$i]['history']       = 'pma_history';// table to store SQL history
//                                                    //   - leave blank for no SQL query history
//                                                    //     DEFAULT: 'pma_history'
$cfg['Servers'][$i]['verbose_check'] = TRUE;        // set to FALSE if you know that your pma_* tables
//                                                    // are up to date. This prevents compatibility
//                                                    // checks and thereby increases performance.
$cfg['Servers'][$i]['AllowRoot']     = TRUE;        // whether to allow root login
$cfg['Servers'][$i]['AllowDeny']['order']           // Host authentication order, leave blank to not use
//                                     = '';
$cfg['Servers'][$i]['AllowDeny']['rules']           // Host authentication rules, leave blank for defaults
                                     = array();

?>


Grand est celui qui n'a pas perdu son coeur d'enfant - Mencius

Hors ligne

#4 Le 01/04/2007, à 20:01

Yaen

Re : [resolu]You don't have permission to access phpmyadmin on this server.

penses à rajouter [Résolu] dans le titre de ton premier post dans ce cas et bon web.


Je joue à HL2, CSS, Stalker... avec mon pingouin d'amour.

Hors ligne