Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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
- * or at <http://docs.phpmyadmin.net/>.
- *
- * @package PhpMyAdmin
- */
- /*
- * This is needed for cookie based authentication to encrypt password in
- * cookie
- */
- $cfg['blowfish_secret'] = 'a8b7c88888888888nsd'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
- /**
- * * maximum execution time in seconds (0 for no limit)
- * *
- * * @global integer $cfg['ExecTimeLimit']
- * */
- $cfg['ExecTimeLimit'] = 0;
- # jasb, misc confs #
- // utf8mb4
- // utf8mb4_general_ci
- //
- // https://stackoverflow.com/questions/30074492/what-is-the-difference-between-utf8mb4-and-utf8-charsets-in-mysql
- // 3 bytes, 4 bytes para emoji por ex
- $cfg['DefaultCharset'] = 'utf8mb4';
- $cfg['DefaultConnectionCollation'] = 'utf8mb4_general_ci';
- //$cfg['DBG']['sqllog'] = true;
- /*
- * Servers configuration
- */
- $i = 0;
- /*
- * First server
- */
- $i++;
- /* Authentication type */
- $cfg['Servers'][$i]['verbose'] = 'FastWeb';
- $cfg['Servers'][$i]['auth_type'] = 'cookie';
- /* Server parameters */
- $cfg['Servers'][$i]['host'] = 'localhost';
- $cfg['Servers'][$i]['connect_type'] = 'socket'; //'tcp';
- $cfg['Servers'][$i]['compress'] = false;
- /* Select mysql if your server does not have mysqli */
- $cfg['Servers'][$i]['extension'] = 'mysqli';
- $cfg['Servers'][$i]['AllowNoPassword'] = false;
- $cfg['LoginCookieValidity'] = 60 * 60 * 24; // 24 horas de sessao
- /*
- * phpMyAdmin configuration storage settings.
- */
- /* User used to manipulate with storage */
- $cfg['Servers'][$i]['controlhost'] = 'localhost';
- $cfg['Servers'][$i]['controluser'] = 'pma_user';
- $cfg['Servers'][$i]['controlpass'] = 'XXXXXXX';
- /* Storage database and tables */
- $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
- $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';
- $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
- $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
- $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
- $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
- $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
- $cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
- $cfg['Servers'][$i]['AllowDeny']['rules'] = array(
- 'deny root from all',
- 'allow root from 213.24.163.73/32',
- 'allow root from 84.91.45.131/32',
- 'allow root from 185.4.235.81/32',
- // 'allow root from 89.26.4.0/22',
- );
- /**
- * Disable use of INFORMATION_SCHEMA.
- *
- * @see https://github.com/phpmyadmin/phpmyadmin/issues/8970
- * @see https://bugs.mysql.com/19588
- * @global boolean $cfg['Servers'][$i]['DisableIS']
- */
- $cfg['Servers'][$i]['DisableIS'] = true;
- $i++;
- $cfg['Servers'][$i]['verbose'] = 'Flecha';
- $cfg['Servers'][$i]['auth_type'] = 'cookie';
- $cfg['Servers'][$i]['host'] = '192.168.69.221';
- $cfg['Servers'][$i]['connect_type'] = 'tcp';
- $cfg['Servers'][$i]['compress'] = false;
- $cfg['Servers'][$i]['extension'] = 'mysqli';
- $cfg['Servers'][$i]['AllowNoPassword'] = false;
- /* User used to manipulate with storage */
- $cfg['Servers'][$i]['controlhost'] = 'localhost';
- $cfg['Servers'][$i]['controluser'] = 'pma_user';
- $cfg['Servers'][$i]['controlpass'] = 'xxxxxx';
- /* Storage database and tables */
- $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
- $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';
- $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
- $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
- $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
- $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
- $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
- $cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
- $cfg['Servers'][$i]['AllowDeny']['rules'] = array(
- 'deny root from all',
- 'allow root from 213.d.163.73/32',
- 'allow root from 84.9d.d.131/32',
- 'allow root from 176.2d.3d4.118/32',
- );
- /**
- * Disable use of INFORMATION_SCHEMA.
- *
- * @see https://github.com/phpmyadmin/phpmyadmin/issues/8970
- * @see https://bugs.mysql.com/19588
- * @global boolean $cfg['Servers'][$i]['DisableIS']
- */
- $cfg['Servers'][$i]['DisableIS'] = true;
- /*
- * Directories for saving/loading files from server
- */
- $cfg['UploadDir'] = '/tmp/';
- $cfg['SaveDir'] = '/tmp/';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement