Précédent   Forum des professionnels en informatique > PHP > Outils > phpMyAdmin
phpMyAdmin Forum d'entraide sur l'outil phpMyAdmin : installation, utilisation, etc. Avant de poster -> Cours phpMyAdmin
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 11/12/2011, 14h35   #1
Débutant
 
Avatar de ETVigan
 
Homme Esteban
Conseil - Consultant en systèmes d'information
Inscription : avril 2010
Messages : 632
Détails du profil
Informations personnelles :
Nom : Homme Esteban
Localisation : France, Gard (Languedoc Roussillon)

Informations professionnelles :
Activité : Conseil - Consultant en systèmes d'information
Secteur : Finance

Informations forums :
Inscription : avril 2010
Messages : 632
Points : 122
Points : 122
Envoyer un message via MSN à ETVigan Envoyer un message via Skype™ à ETVigan
Par défaut Pma 3.4.8 et configuration

Bonjour,

Je viens d'installer Pma 3.4.8 tournant avec Apache 2.2.20, PHP 5.3.8 et mySql 5.5.3 sous Windows 7 64 bits.
Après avoir ramer pour l'installation de tout cela me reste à configurer PMA et en particulier :

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb']    = 'pmadb';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
// $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
// $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
// $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
// $cfg['Servers'][$i]['history'] = 'pma_history';
// $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
Et là, je suis un peu perdu.
Je pense qu'il y a des tables à définir dans la DB[pmadb] mais je n'ai vu nulle part dans la doc de PMA la définition de ces tables.
Je pense que beaucoup des autres commandes sont relatives à des foreign keys... et sans définition, je suis un peu (beaucoup) paumé...

J'ai aussi les messages suivants que PMA me donnent :
Code :
1
2
3
4

Invalid server index:
Connection for controluser as defined in your configuration failed.
Et cette note/warning:
Code :
1
2
Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.
Et ce qui me semble être une erreur:
Code :
1
2
Connection for controluser as defined in your configuration failed.
Je viens de rebooter mon PC et je peux rentrer dans PMA, j'ai l'écran de signon avec ROOT et mot de passe mais aussi le message suivant:

Code :
1
2
Invalid server index: 
Y a t'il quelqu'un parmi vous qui a déjà accomplit ce process et qui pourrait me donner un coup de main ?

Merci à lui
__________________
Esteban
ETVigan est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/12/2011, 18h58   #2
Modérateur
 
Inscription : septembre 2010
Messages : 7 219
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 219
Points : 8 598
Points : 8 598
t'as installe PMA via le setup au moins (phpmyadmin/setup) ?
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/12/2011, 19h24   #3
Débutant
 
Avatar de ETVigan
 
Homme Esteban
Conseil - Consultant en systèmes d'information
Inscription : avril 2010
Messages : 632
Détails du profil
Informations personnelles :
Nom : Homme Esteban
Localisation : France, Gard (Languedoc Roussillon)

Informations professionnelles :
Activité : Conseil - Consultant en systèmes d'information
Secteur : Finance

Informations forums :
Inscription : avril 2010
Messages : 632
Points : 122
Points : 122
Envoyer un message via MSN à ETVigan Envoyer un message via Skype™ à ETVigan
Par défaut PMA 3.4.8

Non, je ne savais même pas qu'un setup existait pour l'avoir tjs fait manuellement depuis des années...
Mais je me suis laissé dire qu'il faut faire attention car ton hébergeur ne supportait pas toujours les extensions proposées par PMA du type "delete casaque"... etc et je ne sais si OVH - pub gratuite - est à jour !
Merci.
__________________
Esteban
ETVigan est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 15/12/2011, 15h02   #4
Débutant
 
Avatar de ETVigan
 
Homme Esteban
Conseil - Consultant en systèmes d'information
Inscription : avril 2010
Messages : 632
Détails du profil
Informations personnelles :
Nom : Homme Esteban
Localisation : France, Gard (Languedoc Roussillon)

Informations professionnelles :
Activité : Conseil - Consultant en systèmes d'information
Secteur : Finance

Informations forums :
Inscription : avril 2010
Messages : 632
Points : 122
Points : 122
Envoyer un message via MSN à ETVigan Envoyer un message via Skype™ à ETVigan
Par défaut PMA 3.4.8 Config ??????

Je viens de reinstaller PMA et il me reste les messages suivants:

Code :
1
2
3
4
5
6
7
<ol style="list-style-type: decimal"><li>The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click here.</li>
<li>Invalid server index:</li>
<li>Connection for controluser as defined in your configuration failed.</li>
<li>Directory config, which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.</li>
<li>Invalid server index:
</li>
</ol>
PMA fonctionne mais j'aimerai bien ne pas mourir con et corriger ces erreurs (sauf la 4 ième relative au "Répertoire "Config" qui se corrigera d'elle même !)

Je ne comprends pas la notion de Invalid server index: ou ServerDefault que j'ai initialisé à 0 & 1 avec les mêmes résultats.
La doc de PMA n'est pas très explicite à ce sujet... Voici ce qu'elle donne:

Code :
1
2
3
4
cfg['ServerDefault'] integer
    If you have more than one server configured, you can set $cfg['ServerDefault'] to any one of them to autoconnect to that server when phpMyAdmin is started, or set it to 0 to be given a list of servers without logging in.
    If you have only one server configured, $cfg['ServerDefault'] MUST be set to that server.
mon fichier "config.inc.php" est le suivant:
Code :
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
82
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * phpMyAdmin sample configuration, you can use it as base for
 * manual configuration. For easier setup you can use setup/
 *
 * All directives are explained in Documentation.html and on phpMyAdmin
 * wiki <http://wiki.phpmyadmin.net>.
 *
 * @version $Id$
 * @package phpMyAdmin
 */

/*
 * This is needed for cookie based authentication to encrypt password in
 * cookie
 */
$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey.conf';
$cfg['blowfish_secret'] = 'abcdefghijklmnopqrstuvwxyz0123456789'; 
/* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

/*
 * Servers configuration
 */
$i = 0;

/*
 * First server
 */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type']    = 'cookie';

/* Server parameters */
$cfg['Servers'][$i]['host']         = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress']     = false;


/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension']       = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = false;

/* rajk - for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold']    = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout']    = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold']   = '32M';

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '********';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb']    = 'pmadb';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
// $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
// $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
// $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
// $cfg['Servers'][$i]['history'] = 'pma_history';
// $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

/*
 * End of servers configuration
 */

/*
 * Directories for saving/loading files from server
 */
$cfg['UploadDir'] = '';
$cfg['SaveDir']   = '';

//$cfg['AllowUserDropDatabase'] = true;
//$cfg['Servers'][$i]['nopassword'] = true;
//$cfg['ForceSSL'] = true;
$cfg['DefaultLang'] = 'en';
$cfg['ServerDefault'] = 0;
Merci de votre coup de main.....
__________________
Esteban
ETVigan est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 01h21.


 
 
 
 
Partenaires

Hébergement Web