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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to