Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1549 connectés 

  FORUM HardWare.fr
  Programmation
  PHP

  configurer phpmyadmin

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

configurer phpmyadmin

n°475699
bodbod
Planquez vous, bodbod arrive..
Posté le 02-08-2003 à 10:33:16  profilanswer
 

Bonjour a tous.
 
J'ai telecharger phpmyadmin 2.2.6 pour avoir acces a une base sql-gratuit.com.
Seulement, j'arrive a configurer le script.
J'ai bien esayer de renseigner le fichier config.inc.php mais il y a toujours des erreurs  :(  
J'ai bien cherché sur le net la solution mais rien ne marche.
 
ps : j'ai mis les fichiers chez free pour acceder a sql-gratuit
 
 
merci ;)


---------------
http://www.menuiseriemerceron.fr - http://www.atlantiquecoloration.fr
mood
Publicité
Posté le 02-08-2003 à 10:33:16  profilanswer
 

n°475727
Mr yvele
yvele n'est plus.
Posté le 02-08-2003 à 12:20:20  profilanswer
 

montre nous un peu ta config  :)


---------------
yvele n'est plus.
n°475750
bodbod
Planquez vous, bodbod arrive..
Posté le 02-08-2003 à 12:33:29  profilanswer
 

Code :
  1. <?php
  2. /* $Id: config.inc.php,v 1.80 2002/04/17 01:48:32 lem9 Exp $ */
  3. /**
  4. * phpMyAdmin Configuration File
  5. *
  6. * All directives are explained in Documentation.html
  7. */
  8. /**
  9. * Bookmark Table Structure
  10. *
  11. * CREATE TABLE bookmark (
  12. *  id int(11) DEFAULT '0' NOT NULL auto_increment,
  13. *  dbase varchar(255) NOT NULL,
  14. *  user varchar(255) NOT NULL,
  15. *  label varchar(255) NOT NULL,
  16. *  query text NOT NULL,
  17. *  PRIMARY KEY (id)
  18. * );
  19. *
  20. */
  21. /**
  22. * Your phpMyAdmin url
  23. *
  24. * Complete the variable below with the full url ie
  25. *    http://www.your_web.net/path_to_yo [...] directory/
  26. *
  27. * It must contain characters that are valid for a URL, and the path is
  28. * case sensitive on some Web servers, for example Unix-based servers.
  29. */
  30. $cfgPmaAbsoluteUri = (!empty($HTTPS) ? 'https' : 'http') . '://'
  31.                    . $HTTP_HOST . (!empty($SERVER_PORT) ? ':' . $SERVER_PORT : '')
  32.                    . substr($PHP_SELF, 0, strrpos($PHP_SELF, '/')+1);
  33. /**
  34. * Server(s) configuration
  35. */
  36. $i = 0;
  37. // The $cfgServers array starts with $cfgServers[1].  Do not use $cfgServers[0].
  38. // You can disable a server config entry by setting host to ''.
  39. $i++;
  40. $cfgServers[$i]['host']          = 'sql-gratuit.com'; // MySQL hostname
  41. $cfgServers[$i]['port']          = '';          // MySQL port - leave blank for default port
  42. $cfgServers[$i]['socket']        = '';          // Path to the socket - leave blank for default socket
  43. $cfgServers[$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')
  44. $cfgServers[$i]['controluser']   = '';          // MySQL control user settings
  45.                                                 // (this user must have read-only
  46. $cfgServers[$i]['controlpass']   = '';          // access to the "mysql/user"
  47.                                                 // and "mysql/db" tables)
  48. $cfgServers[$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
  49. $cfgServers[$i]['user']          = 'bodbod_fr_st';      // MySQL user
  50. $cfgServers[$i]['password']      = 'mon_mot_de_pass';          // MySQL password (only needed
  51.                                                 // with 'config' auth_type)
  52. $cfgServers[$i]['only_db']       = 'bodbod_fr_st';          // If set to a db-name, only
  53.                                                 // this db is displayed
  54.                                                 // at left frame
  55.                                                 // It may also be an array
  56.                                                 // of db-names
  57. $cfgServers[$i]['verbose']       = '';          // Verbose name for this host - leave blank to show the hostname
  58. $cfgServers[$i]['bookmarkdb']    = '';          // Bookmark db - leave blank for no bookmark support
  59. $cfgServers[$i]['bookmarktable'] = '';          // Bookmark table - leave blank for no bookmark support
  60. $cfgServers[$i]['relation']      = '';          // table to describe the relation between links (see doc)
  61.                                                 //   - leave blank for no relation-links support
  62. .... ?>


 
ps : le dossier phpmyadmin n'est pas a la racine de mon hebergement, faut il ?


Message édité par bodbod le 02-08-2003 à 12:34:06

---------------
http://www.menuiseriemerceron.fr - http://www.atlantiquecoloration.fr
n°480681
bodbod
Planquez vous, bodbod arrive..
Posté le 08-08-2003 à 09:49:15  profilanswer
 

up  ;)

n°480729
Maxime
Posté le 08-08-2003 à 10:29:09  profilanswer
 

www.phpmyadmin.net, charge la news version :o

n°482648
Noda
Posté le 10-08-2003 à 19:46:47  profilanswer
 

a la place de  
$cfgPmaAbsoluteUri = (!empty($HTTPS) ? 'https' : 'http') . '://'
                     . $HTTP_HOST . (!empty($SERVER_PORT) ? ':' . $SERVER_PORT : '')
                     . substr($PHP_SELF, 0, strrpos($PHP_SELF, '/')+1);
 
tu mets  
 
$cfgPmaAbsoluteUri = "http://monnom.free.fr/path/to/pma/" ;
 
Et ca devrait etre bon ;)


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  PHP

  configurer phpmyadmin

 

Sujets relatifs
[PHP] LOAD DATA > ça marche sous Phpmyadmin mais pas ... (resolu)[phpMyAdmin] Creation de tables = doublons !?
[PHPmyadmin] Il me marque toujours accès refusé !!!phpmyadmin authentification
utilité de la Base mysql et tables user, db et host dans phpmyadmin?PhpMyAdmin tutorial
Configurer JVMPhpMyAdmin et fichier config.inc.php
Script phpMyAdminexporter une table depuis phpmyadmin
Plus de sujets relatifs à : configurer phpmyadmin


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR