configurer phpmyadmin

configurer phpmyadmin - PHP - Programmation

Marsh Posté le 02-08-2003 à 10:33:16    

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
Reply

Marsh Posté le 02-08-2003 à 10:33:16   

Reply

Marsh Posté le 02-08-2003 à 12:20:20    

montre nous un peu ta config  :)


---------------
yvele n'est plus.
Reply

Marsh Posté le 02-08-2003 à 12:33:29    

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
Reply

Marsh Posté le 08-08-2003 à 09:49:15    

up  ;)

Reply

Marsh Posté le 08-08-2003 à 10:29:09    

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

Reply

Marsh Posté le 10-08-2003 à 19:46:47    

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 ;)

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed