unable to connect to mysql using phpMyAdmin
| From: | pipeline | Date: | Sun, 17 Sep 2000 02:11:37 +0000 |
| Subject: | unable to connect to mysql using phpMyAdmin | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2934@lists.php.net to get a copy of this message | ||
hi
i am facing problem connecting to MySQL using phpMyAdmin using Advanced authentication. below is a
a part of the config.inc.php3. it works fine when using server config 2 . but when i make it 1 the
following
error is encountered (something like this)
unable to connect using 'di@localhost' to database mysql
****************
$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for
default port
$cfgServers[1]['adv_auth'] = true; // Use advanced authentication?
$cfgServers[1]['stduser'] = 'di'; // MySQL standard user (only
needed with advanced auth)
$cfgServers[1]['stdpass'] = 'deepak'; // MySQL standard password
(only needed with advanced
auth)
$cfgServers[1]['user'] = 'di'; // MySQL user (only needed with
basic auth)
$cfgServers[1]['password'] = 'deepak'; // MySQL password (only
needed with basic auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only
this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this host -
leave blank to show the hostname
$cfgServers[2]['host'] = 'localhost';
$cfgServers[2]['port'] = '';
$cfgServers[2]['adv_auth'] = false;
$cfgServers[2]['stduser'] = 'di';
$cfgServers[2]['stdpass'] = 'deepak';
$cfgServers[2]['user'] = 'di';
$cfgServers[2]['password'] = 'deepak';
$cfgServers[2]['only_db'] = '';
$cfgServers[2]['verbose'] = '';
****************
i am on a different computer from the one running php scripts & MySQL.
please reply me directly , because i am not a subscriber of this mailing list
-----------------------------
reply soon
bye
==== deepak ----
have a great day
ICQ 30662394
--