1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00
phpmyadmin_ynh/conf/config.inc.php

170 lines
4.9 KiB
PHP
Raw Permalink Normal View History

2014-01-14 22:57:44 +01:00
<?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 in the doc/ folder
2017-08-29 02:34:05 +02:00
* or at <https://docs.phpmyadmin.net/>.
2014-01-14 22:57:44 +01:00
*
* @package PhpMyAdmin
*/
2017-08-29 02:34:05 +02:00
/**
2014-01-14 22:57:44 +01:00
* This is needed for cookie based authentication to encrypt password in
2017-08-29 02:34:05 +02:00
* cookie. Needs to be 32 chars long.
2014-01-14 22:57:44 +01:00
*/
2017-08-29 02:34:05 +02:00
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
2014-01-14 22:57:44 +01:00
2017-08-29 02:34:05 +02:00
/**
2014-01-14 22:57:44 +01:00
* Servers configuration
*/
$i = 0;
2017-08-29 02:34:05 +02:00
/**
2014-01-14 22:57:44 +01:00
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
2021-07-14 14:25:42 +02:00
$cfg['Servers'][$i]['user'] = '__DB_ADMIN_USER__';
$cfg['Servers'][$i]['password'] = '__DB_ADMIN_PWD__';
2014-01-14 22:57:44 +01:00
/* Server parameters */
/*
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
2017-08-29 02:34:05 +02:00
$cfg['Servers'][$i]['AllowNoPassword'] = false;
2014-01-14 22:57:44 +01:00
*/
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
2017-08-29 02:34:05 +02:00
/**
2014-01-14 22:57:44 +01:00
* phpMyAdmin configuration storage settings.
*/
/* User used to manipulate with storage */
// $cfg['Servers'][$i]['controlhost'] = '';
// $cfg['Servers'][$i]['controlport'] = '';
2021-07-14 14:25:42 +02:00
$cfg['Servers'][$i]['controluser'] = '__DB_USER__';
$cfg['Servers'][$i]['controlpass'] = '__DB_PWD__';
2014-01-14 22:57:44 +01:00
/* Storage database and tables */
2021-07-14 14:25:42 +02:00
$cfg['Servers'][$i]['pmadb'] = '__DB_USER__';
2014-01-14 22:57:44 +01:00
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation';
$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]['table_uiprefs'] = 'pma__table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
2014-07-27 16:27:12 +02:00
$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
$cfg['Servers'][$i]['favorite'] = 'pma__favorite';
$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
2015-02-21 20:08:37 +01:00
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
2016-01-14 12:36:07 +01:00
$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
2014-01-14 22:57:44 +01:00
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
2017-08-29 02:34:05 +02:00
/**
2014-01-14 22:57:44 +01:00
* End of servers configuration
*/
2017-08-29 02:34:05 +02:00
/**
2014-01-14 22:57:44 +01:00
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
2017-08-29 02:34:05 +02:00
/**
* Whether to display icons or text or both icons and text in table row
* action segment. Value can be either of 'icons', 'text' or 'both'.
* default = 'both'
*/
//$cfg['RowActionType'] = 'icons';
2014-01-14 22:57:44 +01:00
/**
* Defines whether a user should be displayed a "show all (records)"
* button in browse mode or not.
* default = false
*/
//$cfg['ShowAll'] = true;
/**
* Number of rows displayed when browsing a result set. If the result
* set contains more rows, "Previous" and "Next".
2017-08-29 02:34:05 +02:00
* Possible values: 25, 50, 100, 250, 500
* default = 25
2014-01-14 22:57:44 +01:00
*/
//$cfg['MaxRows'] = 50;
/**
2017-08-29 02:34:05 +02:00
* Disallow editing of binary fields
2014-01-14 22:57:44 +01:00
* valid values are:
* false allow editing
* 'blob' allow editing except for BLOB fields
* 'noblob' disallow editing except for BLOB fields
* 'all' disallow editing
2017-08-29 02:34:05 +02:00
* default = 'blob'
2014-01-14 22:57:44 +01:00
*/
2017-08-29 02:34:05 +02:00
//$cfg['ProtectBinary'] = false;
2014-01-14 22:57:44 +01:00
/**
* Default language to use, if not browser-defined or user-defined
* (you find all languages in the locale folder)
* uncomment the desired line:
* default = 'en'
*/
//$cfg['DefaultLang'] = 'en';
//$cfg['DefaultLang'] = 'de';
/**
* How many columns should be used for table display of a database?
* (a value larger than 1 results in some information being hidden)
* default = 1
*/
//$cfg['PropertiesNumColumns'] = 2;
/**
* Set to true if you want DB-based query history.If false, this utilizes
* JS-routines to display query history (lost by window close)
*
* This requires configuration storage enabled, see above.
* default = false
*/
//$cfg['QueryHistoryDB'] = true;
/**
* When using DB-based query history, how many entries should be kept?
* default = 25
*/
//$cfg['QueryHistoryMax'] = 100;
/**
2017-08-29 02:34:05 +02:00
* Whether or not to query the user before sending the error report to
* the phpMyAdmin team when a JavaScript error occurs
2014-01-14 22:57:44 +01:00
*
2017-08-29 02:34:05 +02:00
* Available options
* ('ask' | 'always' | 'never')
* default = 'ask'
2014-01-14 22:57:44 +01:00
*/
2017-08-29 02:34:05 +02:00
//$cfg['SendErrorReports'] = 'always';
2014-01-14 22:57:44 +01:00
2017-08-29 02:34:05 +02:00
/**
2014-01-14 22:57:44 +01:00
* You can find more configuration options in the documentation
2017-08-29 02:34:05 +02:00
* in the doc/ folder or at <https://docs.phpmyadmin.net/>.
2014-01-14 22:57:44 +01:00
*/