Configuring www.phpmyadmin/config.inc.php

From: Date: Sun, 10 Aug 2003 05:28:52 +0000
Subject: Configuring www.phpmyadmin/config.inc.php
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-21503@lists.php.net to get a copy of this message
Here is the code in config.inc.php $cfgServers[$i]['host'] = 'mydomain.com'; // MySQL hostname $cfgServers[$i]['port'] = ''; // MySQL port - leave blank for default port $cfgServers[$i]['socket'] = ''; // Path to the socket - leave blank for default socket $cfgServers[$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket') $cfgServers[$i]['controluser'] = 'username'; // MySQL control user settings // (this user must have read-only $cfgServers[$i]['controlpass'] = 'password'; // access to the "mysql/user" // and "mysql/db" tables) $cfgServers[$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? $cfgServers[$i]['user'] = ''; // MySQL user $cfgServers[$i]['password'] = ''; // MySQL password (only needed // with 'config' auth_type) $cfgServers[$i]['only_db'] = 'database_name'; // If set to a db-name, only // this db is displayed // at left frame Is controluser and control password the username and password of the domain? (ftp user/pass???) Is user and password the user and password of the Mysql database_name? Should config.inc.php be chmod 666 Russell Griechen

« previous php.db (#21503) next »