Changeset 2000

Show
Ignore:
Timestamp:
10/05/07 20:53:50 (1 year ago)
Author:
anarcat
Message:

remove useless default configs to simplify this config file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/etc/alternc/phpmyadmin.inc.php

    r1998 r2000  
    1818 
    1919$cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address 
    20 $cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port 
    21 $cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket 
    2220$cfg['Servers'][$i]['connect_type']  = 'tcp';    // How to connect to MySQL server ('tcp' or 'socket') 
    23 $cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli') 
    24 $cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection 
    25 //                                                    // (requires PHP >= 4.3.0) 
    26 $cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings 
    27 //                                                    // (this user must have read-only 
    28 $cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user" 
    29 //                                                    // and "mysql/db" tables). 
    30 //                                                    // The controluser is also 
    31 //                                                    // used for all relational 
    32 //                                                    // features (pmadb) 
    3321$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)? 
    3422$cfg['Servers'][$i]['user']          = $_COOKIE["REMOTE_USER"];    ;      // MySQL user 
     
    4028// Uncomment to override the default configuration 
    4129$cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address 
    42 $cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port 
    43 $cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket 
    4430$cfg['Servers'][$i]['connect_type']  = 'tcp';    // How to connect to MySQL server ('tcp' or 'socket') 
    45 $cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection 
    46 //                                                    // (requires PHP >= 4.3.0) 
    47 $cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings 
    48 //                                                    // (this user must have read-only 
    49 $cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user" 
    50 //                                                    // and "mysql/db" tables). 
    51 //                                                    // The controluser is also 
    52 //                                                    // used for all relational 
    53 //                                                    // features (pmadb) 
    5431$cfg['Servers'][$i]['auth_type']     = 'cookie';    // Authentication method (config, http or cookie based)? 
    55 $cfg['Servers'][$i]['user']          = 'root';   // MySQL user 
    56 $cfg['Servers'][$i]['password']      = '';          // MySQL password (only needed 
    57 //                                                    // with 'config' auth_type) 
    5832 
    5933?>