Changeset 2000
- Timestamp:
- 10/05/07 20:53:50 (1 year ago)
- Files:
-
- alternc/trunk/etc/alternc/phpmyadmin.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/etc/alternc/phpmyadmin.inc.php
r1998 r2000 18 18 19 19 $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address 20 $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port21 $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket22 20 $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 connection25 // // (requires PHP >= 4.3.0)26 $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings27 // // (this user must have read-only28 $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"29 // // and "mysql/db" tables).30 // // The controluser is also31 // // used for all relational32 // // features (pmadb)33 21 $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? 34 22 $cfg['Servers'][$i]['user'] = $_COOKIE["REMOTE_USER"]; ; // MySQL user … … 40 28 // Uncomment to override the default configuration 41 29 $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address 42 $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port43 $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket44 30 $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 connection46 // // (requires PHP >= 4.3.0)47 $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings48 // // (this user must have read-only49 $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"50 // // and "mysql/db" tables).51 // // The controluser is also52 // // used for all relational53 // // features (pmadb)54 31 $cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)? 55 $cfg['Servers'][$i]['user'] = 'root'; // MySQL user56 $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed57 // // with 'config' auth_type)58 32 59 33 ?>
