0% found this document useful (0 votes)
29 views

No Access Phpmyadmin

This document contains PHP code that configures a phpMyAdmin server instance. It sets the blowfish secret for cookie authentication, defines a server on localhost using TCP with username root and password, and configures various phpMyAdmin advanced features like the pmadb database.

Uploaded by

zzgreenlady
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

No Access Phpmyadmin

This document contains PHP code that configures a phpMyAdmin server instance. It sets the blowfish secret for cookie authentication, defines a server on localhost using TCP with username root and password, and configures various phpMyAdmin advanced features like the pmadb database.

Uploaded by

zzgreenlady
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

<?

php
/*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.phpmyadmin.net>.
*/

/* This is needed for cookie based authentication to encrypt password */


$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

/* Servers configuration */
$i = 0;

/* First server */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['user'] = 'root';
[COLOR="rgb(255, 140, 0)"]$cfg['Servers'][$i]['password'] = 'password'; // MySQL
password (only needed[/COLOR]
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Servers'][$i]['hide_db'] = '(mysql|information_schema|phpmyadmin)';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';

/* rajk - for blobstreaming */


$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';

/* User for advanced features */


//$cfg['Servers'][$i]['controluser'] = 'root';
//$cfg['Servers'][$i]['controlpass'] = '';

/* Advanced phpMyAdmin features */


$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]['designer_coords'] = 'pma_designer_coords';

/* Contrib / Swekey authentication */


// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

/* End of servers configuration */

/* Directories for saving/loading files from server */


$cfg['UploadDir'] = 'uploaddir';
$cfg['SaveDir'] = 'savedir';
?>

You might also like