cherche un fichier config.inc.php pour phpmyadmin 2.8.0.3 - Programmation
TomsGuide.com : 700 000 inscrits répondent à toutes vos questions high-tech et informatique.
Pour obtenir de l'aide, inscrivez-vous gratuitement !
 

Ajouter une réponse



 Mot :   Pseudo :  
 
Bas de page
Auteur
 Sujet : cherche un fichier config.inc.php pour phpmyadmin 2.8.0.3
 
Profil : IDNaute
Plus d'informations

Bonjour tout le monde,
J'ai installé phpmyadmin sur mon serveur iis 6 mais il y avait pas de fichier config.inc.php dans l'archive Si vous pouvez me donner un fichier config.inc.php ce serait genti.
Merci d'avance ;-)

Liens spon sorisés

Inscrivez-vous ou connectez-vous pour masquer ceci.

Profil : Extensionaute
Plus d'informations

Il me semble que le fichier n'est pas nécessaire, il te sert juste à configurer, donc tu n'en as pas besoin.

Si tu en as besoin, c'est à toi de le faire, et faudrait pas prendre la configuration de quelqu'un d'autre je pense.

Pas sûr de ma réponse...

Profil : IDNaute
Plus d'informations

merci de me repondre mais j'ai deja essayer sans congig.inc.php mais il y a un probleme de connection à la base de données mysql.
Donc je cherche un exemple ou un totoriel.
Nicolas

Profil : Extensionaute
Plus d'informations

je t'envoie ça par mail d'ici 2 minutes

Profil : IDNaute
Plus d'informations

Salut,

tu dois avoir ce fichier. Peut-être a-t-il été déplacé dans un dossier dans cette nouvelle version.

Si tu as téléchargé la version CVS, assure toi d'avoir tout prit.

Profil : IDNaute
Plus d'informations

Salut,
Merci de ton e-mail.
Maintenant sa fonctionne.
Et pour info j'ai telechargé le fichier compressé.
;-)

Profil : IDNaute
Plus d'informations

Salut à tous.
Moi aussi je n'ai pas le fichier config.inc.php. Si OmaR_ShaRif avait la gentillesse de me l'envoyer aussi se serai sympa Merci.

Profil : IDNaute
Plus d'informations

Voici un fichier "config.inc", utilisé avec WAMP. Mais, je pense qu'il marchera aussi... Copies/colles ce fichier dans un *.php.

Code :
  1. <?php
  2. /* !!! DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!! */
  3. /* $Id: config.default.php,v 2.20.2.1 2005/11/23 10:34:32 nijel Exp $ */
  4. // vim: expandtab sw=4 ts=4 sts=4:
  5. /**
  6. * phpMyAdmin default configuration, you can copy values from here to your
  7. * config.inc.php
  8. *
  9. * All directives are explained in Documentation.html
  10. */
  11. /**
  12. * Your phpMyAdmin URL.
  13. *
  14. * Complete the variable below with the full url ie
  15. *    http://www.your_web.net/path_to_your_phpMyAdmin_directory/
  16. *
  17. * It must contain characters that are valid for a URL, and the path is
  18. * case sensitive on some Web servers, for example Unix-based servers.
  19. *
  20. * In most cases you can leave this variable empty, as the correct value
  21. * will be detected automatically. However, we recommend that you do
  22. * test to see that the auto-detection code works in your system. A good
  23. * test is to browse a table, then edit a row and save it.  There will be
  24. * an error message if phpMyAdmin cannot auto-detect the correct value.
  25. */
  26. $cfg['PmaAbsoluteUri'] = '';
  27. /**
  28. * Disable the default warning that is displayed on the DB Details Structure page if
  29. * any of the required Tables for the relationfeatures could not be found
  30. */
  31. $cfg['PmaNoRelation_DisableWarning']  = FALSE;
  32. /**
  33. * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
  34. * at least one server configuration uses 'cookie' auth_type, enter here a
  35. * passphrase that will be used by blowfish. The maximum length seems to be 46
  36. * characters.
  37. */
  38. $cfg['blowfish_secret'] = '';
  39. /**
  40. * Server(s) configuration
  41. */
  42. $i = 0;
  43. // The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use
  44. // $cfg['Servers'][0]. You can disable a server config entry by setting host
  45. // to ''. If you want more than one server, just copy following section
  46. // (including $i incrementation) serveral times. There is no need to define
  47. // full server array, just define values you need to change.
  48. $i++;
  49. $cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address
  50. $cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
  51. $cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
  52. $cfg['Servers'][$i]['connect_type']  = 'tcp';      // How to connect to MySQL server ('tcp' or 'socket')
  53. $cfg['Servers'][$i]['extension']    = 'mysql';    // The php MySQL extension to use ('mysql' or 'mysqli')
  54. $cfg['Servers'][$i]['compress']      = FALSE;      // Use compressed protocol for the MySQL connection
  55.                                                     // (requires PHP >= 4.3.0)
  56. $cfg['Servers'][$i]['controluser']  = '';          // MySQL control user settings
  57.                                                     // (this user must have read-only
  58. $cfg['Servers'][$i]['controlpass']  = '';          // access to the "mysql/user"
  59.                                                     // and "mysql/db" tables).
  60.                                                     // The controluser is also
  61.                                                     // used for all relational
  62.                                                     // features (pmadb)
  63. $cfg['Servers'][$i]['auth_type']    = 'config';    // Authentication method (config, http or cookie based)?
  64. $cfg['Servers'][$i]['user']          = 'root';      // MySQL user
  65. $cfg['Servers'][$i]['password']      = '';          // MySQL password (only needed
  66.                                                     // with 'config' auth_type)
  67. $cfg['Servers'][$i]['only_db']      = '';          // If set to a db-name, only
  68.                                                     // this db is displayed in left frame
  69.                                                     // It may also be an array of db-names, where sorting order is relevant.
  70. $cfg['Servers'][$i]['verbose']      = '';          // Verbose name for this host - leave blank to show the hostname
  71. $cfg['Servers'][$i]['pmadb']        = 'phpmyadmin';          // Database used for Relation, Bookmark and PDF Features
  72.                                                     // (see scripts/create_tables.sql)
  73.                                                     //  - leave blank for no support
  74.                                                     //    DEFAULT: 'phpmyadmin'
  75. $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';          // Bookmark table
  76.                                                     //  - leave blank for no bookmark support
  77.                                                     //    DEFAULT: 'pma_bookmark'
  78. $cfg['Servers'][$i]['relation']      = 'pma_relation';          // table to describe the relation between links (see doc)
  79.                                                     //  - leave blank for no relation-links support
  80.                                                     //    DEFAULT: 'pma_relation'
  81. $cfg['Servers'][$i]['table_info']    = 'pma_table_info';          // table to describe the display fields
  82.                                                     //  - leave blank for no display fields support
  83.                                                     //    DEFAULT: 'pma_table_info'
  84. $cfg['Servers'][$i]['table_coords']  = 'pma_table_coords';          // table to describe the tables position for the PDF schema
  85.                                                     //  - leave blank for no PDF schema support
  86.                                                     //    DEFAULT: 'pma_table_coords'
  87. $cfg['Servers'][$i]['pdf_pages']    = 'pma_pdf_pages';          // table to describe pages of relationpdf
  88.                                                     //  - leave blank if you don't want to use this
  89.                                                     //    DEFAULT: 'pma_pdf_pages'
  90. $cfg['Servers'][$i]['column_info']  = 'pma_column_info';          // table to store column information
  91.                                                     //  - leave blank for no column comments/mime types
  92.                                                     //    DEFAULT: 'pma_column_info'
  93. $cfg['Servers'][$i]['history']      = 'pma_history';          // table to store SQL history
  94.                                                     //  - leave blank for no SQL query history
  95.                                                     //    DEFAULT: 'pma_history'
  96. $cfg['Servers'][$i]['verbose_check'] = TRUE;        // set to FALSE if you know that your pma_* tables
  97.                                                     // are up to date. This prevents compatibility
  98.                                                     // checks and thereby increases performance.
  99. $cfg['Servers'][$i]['AllowRoot']    = TRUE;        // whether to allow root login
  100. $cfg['Servers'][$i]['AllowDeny']['order']          // Host authentication order, leave blank to not use
  101.                                     = '';
  102. $cfg['Servers'][$i]['AllowDeny']['rules']          // Host authentication rules, leave blank for defaults
  103.                                     = array();
  104. // If you have more than one server configured, you can set $cfg['ServerDefault']
  105. // to any one of them to autoconnect to that server when phpMyAdmin is started,
  106. // or set it to 0 to be given a list of servers without logging in
  107. // If you have only one server configured, $cfg['ServerDefault'] *MUST* be
  108. // set to that server.
  109. $cfg['ServerDefault'] = 1;              // Default server (0 = no default server)
  110. /**
  111. * Other core phpMyAdmin settings
  112. */
  113. $cfg['OBGzip']                  = 'auto'; // use GZIP output buffering if possible (TRUE|FALSE|'auto')
  114. $cfg['PersistentConnections']  = FALSE// use persistent connections to MySQL database
  115. $cfg['ForceSLL']                = FALSE// whether to force using https
  116. $cfg['ExecTimeLimit']          = 300;    // maximum execution time in seconds (0 for no limit)
  117. $cfg['SkipLockedTables']        = FALSE// mark used tables, make possible to show
  118.                                           // locked tables (since MySQL 3.23.30)
  119. $cfg['ShowSQL']                = TRUE// show SQL queries as run
  120. $cfg['AllowUserDropDatabase']  = FALSE// show a 'Drop database' link to normal users
  121. $cfg['Confirm']                = TRUE// confirm 'DROP TABLE' & 'DROP DATABASE'
  122. $cfg['LoginCookieRecall']      = TRUE// recall previous login in cookie auth. mode or not
  123. $cfg['LoginCookieValidity']    = 1800;  // validity of cookie login (in seconds)
  124. $cfg['UseDbSearch']            = TRUE// whether to enable the "database search" feature
  125.                                           // or not
  126. $cfg['IgnoreMultiSubmitErrors'] = FALSE// if set to true, PMA continues computing multiple-statement queries
  127.                                           // even if one of the queries failed
  128. $cfg['VerboseMultiSubmit']      = TRUE// if set to true, PMA will show the affected rows of EACH statement on
  129.                                           // multiple-statement queries. See the libraries/import.php file for
  130.                                           // hardcoded defaults on how many queries a statement may contain!
  131. $cfg['AllowArbitraryServer']    = FALSE// allow login to any user entered server in cookie based auth
  132. // Left frame setup
  133. $cfg['LeftFrameLight']        = TRUE;    // use a select-based menu and display only the
  134.                                         // current tables in the left frame.
  135. $cfg['LeftFrameDBTree']      = TRUE;    // turn the select-based light menu into a tree
  136. $cfg['LeftFrameDBSeparator']  = '_';    // the separator to sub-tree the select-based light menu tree
  137. $cfg['LeftFrameTableSeparator']= '__';  // Which string will be used to generate table prefixes
  138.                                         // to split/nest tables into multiple categories
  139. $cfg['LeftFrameTableLevel']  = '1';    // How many sublevels should be displayed when splitting
  140.                                         // up tables by the above Separator
  141. $cfg['ShowTooltip']          = TRUE;    // display table comment as tooltip in left frame
  142. $cfg['ShowTooltipAliasDB']    = FALSE// if ShowToolTip is enabled, this defines that table/db comments
  143. $cfg['ShowTooltipAliasTB']    = FALSE// are shown (in the left menu and db_details_structure) instead of
  144.                                         // table/db names. Setting ShowTooltipAliasTB to 'nested' will only
  145.                                         // use the Aliases for nested descriptors, not the table itself.
  146. $cfg['LeftDisplayLogo']      = TRUE// display logo at top of left frame
  147. $cfg['LeftDisplayServers']    = FALSE// display server choice at top of left frame
  148. $cfg['DisplayServersList']    = FALSE// server choice as links
  149. // In the main frame, at startup...
  150. $cfg['ShowStats']            = TRUE// allow to display statistics and space usage in
  151.                                         // the pages about database details and table
  152.                                         // properties
  153. $cfg['ShowPhpInfo']          = FALSE// information" and "change password" links for
  154. $cfg['ShowChgPassword']      = FALSE// simple users or not
  155. $cfg['SuggestDBName']        = TRUE// suggest a new DB name if possible (false = keep empty)
  156. // In browse mode...
  157. $cfg['ShowBlob']              = FALSE// display blob field contents
  158. $cfg['NavigationBarIconic']  = 'both'; // Use icons instead of text for the navigation bar buttons
  159.                                         // and on right panel top menu (server db table) (TRUE|FALSE|'both')
  160. $cfg['ShowAll']              = FALSE// allows to display all the rows
  161. $cfg['MaxRows']              = 30;    // maximum number of rows to display
  162. $cfg['Order']                = 'ASC';  // default for 'ORDER BY' clause (valid
  163.                                         // values are 'ASC', 'DESC' or 'SMART' -ie
  164.                                         // descending order for fields of type
  165.                                         // TIME, DATE, DATETIME & TIMESTAMP,
  166.                                         // ascending order else-)
  167. // In edit mode...
  168. $cfg['ProtectBinary']        = 'blob'; // disallow editing of binary fields
  169.                                         // valid values are:
  170.                                         //  FALSE  allow editing
  171.                                         //  'blob' allow editing except for BLOB fields
  172.                                         //  'all'  disallow editing
  173. $cfg['ShowFunctionFields']    = TRUE// Display the function fields in edit/insert mode
  174. $cfg['CharEditing']          = 'input';
  175.                                         // Which editor should be used for CHAR/VARCHAR fields:
  176.                                         //  input - allows limiting of input length
  177.                                         //  textarea - allows newlines in fields
  178. $cfg['InsertRows']            = 2;      // How many rows can be inserted at one time
  179. $cfg['ForeignKeyDropdownOrder'] =      // Sort order for items in a foreign-key dropdown box.
  180.     array( 'content-id', 'id-content'); // 'content' is the referenced data, 'id' is the key value.
  181. $cfg['ForeignKeyMaxLimit'] = 100;      // A dropdown will be used if fewer items are present
  182. // For the export features...
  183. $cfg['ZipDump']              = TRUE// Allow the use of zip/gzip/bzip
  184. $cfg['GZipDump']              = TRUE// compression for
  185. $cfg['BZipDump']              = TRUE// dump files
  186. $cfg['CompressOnFly']        = TRUE// Will compress gzip/bzip2 exports on
  187.                                         // fly without need for much memory.
  188.                                         // If you encounter problems with
  189.                                         // created gzip/bzip2 files disable
  190.                                         // this feature.
  191. // Tabs display settings
  192. $cfg['LightTabs']            = FALSE// use graphically less intense menu tabs
  193. $cfg['PropertiesIconic']      = TRUE// Use icons instead of text for the table display of a database (TRUE|FALSE|'both')
  194. $cfg['PropertiesNumColumns']  = 1;      // How many columns should be used for table display of a database?
  195.                                         // (a value larger than 1 results in some information being hidden)
  196. $cfg['DefaultTabServer']      = 'main.php';
  197.                                   // Possible values:
  198.                                   // 'main.php' = the welcome page
  199.                                   // (recommended for multiuser setups)
  200.                                   // 'server_databases.php' = list of databases
  201.                                   // 'server_status.php' = runtime information
  202.                                   // 'server_variables.php' = MySQL server variables
  203.                                   // 'server_privileges.php' = user management
  204.                                   // 'server_processlist.php' = process list
  205. $cfg['DefaultTabDatabase']    = 'db_details_structure.php';
  206.                                   // Possible values:
  207.                                   // 'db_details_structure.php' = tables list
  208.                                   // 'db_details.php' = sql form
  209.                                   // 'db_search.php' = search query
  210.                                   // 'db_operations.php' = operations on database
  211. $cfg['DefaultTabTable']      = 'tbl_properties_structure.php';
  212.                                   // Possible values:
  213.                                   // 'tbl_properties_structure.php' = fields list
  214.                                   // 'tbl_properties.php' = sql form
  215.                                   // 'tbl_select.php = select page
  216.                                   // 'tbl_change.php = insert row page
  217. /**
  218. * Export defaults
  219. */
  220. $cfg['Export']['format']                    = 'sql';  // sql/latex/excel/csv/xml/xls/htmlexcel/htmlword
  221. $cfg['Export']['compression']              = 'none'; // none/zip/gzip/bzip2
  222. $cfg['Export']['asfile']                    = FALSE;
  223. $cfg['Export']['charset']                  = '';
  224. $cfg['Export']['onserver']                  = FALSE;
  225. $cfg['Export']['onserver_overwrite']        = FALSE;
  226. $cfg['Export']['remember_file_template']    = TRUE;
  227. $cfg['Export']['file_template_table']      = '__TABLE__';
  228. $cfg['Export']['file_template_database']    = '__DB__';
  229. $cfg['Export']['file_template_server']      = '__SERVER__';
  230. $cfg['Export']['htmlexcel_columns']        = FALSE;
  231. $cfg['Export']['htmlexcel_null']            = 'NULL';
  232. $cfg['Export']['htmlword_structure']        = TRUE;
  233. $cfg['Export']['htmlword_data']            = TRUE;
  234. $cfg['Export']['htmlword_columns']          = FALSE;
  235. $cfg['Export']['htmlword_null']            = 'NULL';
  236. $cfg['Export']['xls_columns']              = FALSE;
  237. $cfg['Export']['xls_null']                  = 'NULL';
  238. $cfg['Export']['csv_columns']              = FALSE;
  239. $cfg['Export']['csv_null']                  = 'NULL';
  240. $cfg['Export']['csv_separator']            = ';';
  241. $cfg['Export']['csv_enclosed']              = '"';
  242. $cfg['Export']['csv_escaped']              = '\\';
  243. $cfg['Export']['csv_terminated']            = 'AUTO';
  244. $cfg['Export']['excel_columns']            = FALSE;
  245. $cfg['Export']['excel_null']                = 'NULL';
  246. $cfg['Export']['excel_edition']            = 'win'; // win/mac
  247. $cfg['Export']['latex_structure']          = TRUE;
  248. $cfg['Export']['latex_data']                = TRUE;
  249. $cfg['Export']['latex_columns']            = TRUE;
  250. $cfg['Export']['latex_relation']            = TRUE;
  251. $cfg['Export']['latex_comments']            = TRUE;
  252. $cfg['Export']['latex_mime']                = TRUE;
  253. $cfg['Export']['latex_null']                = '\textit{NULL}';
  254. $cfg['Export']['latex_caption']            = TRUE;
  255. $cfg['Export']['latex_data_label']          = 'tab:__TABLE__-data';
  256. $cfg['Export']['latex_structure_label']    = 'tab:__TABLE__-structure';
  257. $cfg['Export']['sql_structure']            = TRUE;
  258. $cfg['Export']['sql_data']                  = TRUE;
  259. $cfg['Export']['sql_compat']                = 'NONE';
  260. $cfg['Export']['sql_disable_fk']            = FALSE;
  261. $cfg['Export']['sql_use_transaction']      = FALSE;
  262. $cfg['Export']['sql_drop_database']        = FALSE;
  263. $cfg['Export']['sql_drop_table']            = FALSE;
  264. $cfg['Export']['sql_if_not_exists']        = FALSE;
  265. $cfg['Export']['sql_auto_increment']        = TRUE;
  266. $cfg['Export']['sql_backquotes']            = TRUE;
  267. $cfg['Export']['sql_dates']                = FALSE;
  268. $cfg['Export']['sql_relation']              = FALSE;
  269. $cfg['Export']['sql_columns']              = FALSE;
  270. $cfg['Export']['sql_delayed']              = FALSE;
  271. $cfg['Export']['sql_ignore']                = FALSE;
  272. $cfg['Export']['sql_hex_for_binary']        = TRUE;
  273. $cfg['Export']['sql_type']                  = 'insert'; // insert/update/replace
  274. $cfg['Export']['sql_extended']              = FALSE;
  275. $cfg['Export']['sql_max_query_size']        = 50000;
  276. $cfg['Export']['sql_comments']              = FALSE;
  277. $cfg['Export']['sql_mime']                  = FALSE;
  278. $cfg['Export']['sql_header_comment']        = ''; // \n is replaced by new line
  279. /**
  280. * Import defaults
  281. */
  282. $cfg['Import']['format'] = 'sql';
  283. $cfg['Import']['allow_interrupt'] = TRUE;
  284. $cfg['Import']['skip_queries'] = '0';
  285. $cfg['Import']['csv_replace'] = FALSE;
  286. $cfg['Import']['csv_terminated'] = ';';
  287. $cfg['Import']['csv_enclosed'] = '"';
  288. $cfg['Import']['csv_escaped'] = '\\';
  289. $cfg['Import']['csv_new_line'] = 'auto';
  290. $cfg['Import']['csv_columns'] = '';
  291. $cfg['Import']['ldi_replace'] = FALSE;
  292. $cfg['Import']['ldi_terminated'] = ';';
  293. $cfg['Import']['ldi_enclosed'] = '"';
  294. $cfg['Import']['ldi_escaped'] = '\\';
  295. $cfg['Import']['ldi_new_line'] = 'auto';
  296. $cfg['Import']['ldi_columns'] = '';
  297. $cfg['Import']['ldi_local_option'] = 'auto'; // 'auto' for autodetection, TRUE or FALSE for forcing
  298. /**
  299. * Link to the official MySQL documentation.
  300. * Be sure to include no trailing slash on the path.
  301. * See http://dev.mysql.com/doc/ for more information
  302. * about MySQL manuals and their types.
  303. */
  304. $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
  305. /**
  306. * Type of MySQL documentation:
  307. *  viewable  - "viewable online", current one used on MySQL website
  308. *  searchable - "Searchable, with user comments"
  309. *  chapters  - "HTML, one page per chapter"
  310. *  chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
  311. *  big        - "HTML, all on one page"
  312. *  old        - old style used in phpMyAdmin 2.3.0 and sooner
  313. *  none      - do not show documentation links
  314. */
  315. $cfg['MySQLManualType'] = 'viewable';
  316. /**
  317. * PDF options
  318. */
  319. $cfg['PDFPageSizes']        = array('A3', 'A4', 'A5', 'letter', 'legal');
  320. $cfg['PDFDefaultPageSize']  = 'A4';
  321. /**
  322. * Language and charset conversion settings
  323. */
  324. // Default language to use, if not browser-defined or user-defined
  325. $cfg['DefaultLang'] = 'en-iso-8859-1';
  326. // Force: always use this language - must be defined in
  327. //        libraries/select_lang.lib.php
  328. // $cfg['Lang']    = 'en-iso-8859-1';
  329. // Regullar expression to limit listed languages, eg. '^(cs|en)' for Czech and
  330. // English only
  331. $cfg['FilterLanguages'] = '';
  332. // Default charset to use for recoding of MySQL queries, does not take
  333. // any effect when charsets recoding is switched off by
  334. // $cfg['AllowAnywhereRecoding'] or in language file
  335. // (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
  336. $cfg['DefaultCharset'] = 'iso-8859-1';
  337. // Allow charset recoding of MySQL queries, must be also enabled in language
  338. // file to make harder using other language files than unicode.
  339. // Default value is FALSE to avoid problems on servers without the iconv
  340. // extension and where dl() is not supported
  341. $cfg['AllowAnywhereRecoding'] = FALSE;
  342. // You can select here which functions will be used for charset conversion.
  343. // Possible values are:
  344. //      auto  - automatically use available one (first is tested iconv, then
  345. //              recode)
  346. //      iconv  - use iconv or libiconv functions
  347. //      recode - use recode_string function
  348. $cfg['RecodingEngine'] = 'auto';
  349. // Specify some parameters for iconv used in charset conversion. See iconv
  350. // documentation fo