Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Configure phpMyAdmin

$
0
0
I am using the instructions at LAMP setup to configure a localhost. Toward the end of that file, there are instructions for configuring phpMyAdmin. The /etc/phpMyAdmin/config.inc.php in the version I have is somewhat different from those in the instructions. Here is the code from what I have:


Code:

/*
 * phpMyAdmin configuration storage settings.
 */
$cfg['Servers'][$i]['controlhost']        = '';

// MySQL control user settings (this user must have read-only
// access to the "mysql/user" and "mysql/db" tables).
// The controluser is also used for all relational features (pmadb)
$cfg['Servers'][$i]['controluser']        = '';

// The password needed for the controluser to login
// (see $cfg['Servers'][$i]['controluser'])
$cfg['Servers'][$i]['controlpass']        = '';

// Database used for Relation, Bookmark and PDF Features
// (see _docdir/examples/create_tables.sql)
//  - leave blank for no support
//    DEFAULT: 'phpmyadmin'
$cfg['Servers'][$i]['pmadb']              = '';

// Bookmark table
//  - leave blank for no bookmark support
//    DEFAULT: 'pma_bookmark'
$cfg['Servers'][$i]['bookmarktable']      = '';

// table to describe the relation between links (see doc)
//  - leave blank for no relation-links support
//    DEFAULT: 'pma_relation'
$cfg['Servers'][$i]['relation']            = '';

// table to describe the display fields
//  - leave blank for no display fields support
//    DEFAULT: 'pma_table_info'
$cfg['Servers'][$i]['table_info']          = '';

// table to describe the tables position for the PDF schema
//  - leave blank for no PDF schema support
//    DEFAULT: 'pma_table_coords'
$cfg['Servers'][$i]['table_coords']        = '';

// table to describe pages of relationpdf
//  - leave blank if you don't want to use this
//    DEFAULT: 'pma_pdf_pages'
$cfg['Servers'][$i]['pdf_pages']          = '';

// table to store column information
//  - leave blank for no column comments/mime types
//    DEFAULT: 'pma_column_info'
$cfg['Servers'][$i]['column_info']        = '';

// table to store SQL history
//  - leave blank for no SQL query history
//    DEFAULT: 'pma_history'
$cfg['Servers'][$i]['history']            = '';

// Table to store user interface enhancement data.
//  - Leave blank to disable.
//    DEFAULT: 'pma_table_uiprefs'
$cfg['Servers'][$i]['table_uiprefs']      = 'pma_table_uiprefs';

// Table to store version/change tracking data
//  - leave blank to disable
//    DEFAULT: 'pma_tracking'
$cfg['Servers'][$i]['tracking']            = 'pma_tracking';

// Table in which to store information for the designer feature.
//    DEFAULT: 'pma_designer_coords'
$cfg['Servers'][$i]['designer_coords']    = 'pma_designer_coords';

Should I use the default values suggested in the comments or the ones in the instructions?

What is the best practice for naming the controlhost and controluser?

Cordially,
TwoHoot

Viewing all articles
Browse latest Browse all 40713

Trending Articles