Forum Moderators: coopster

Message Too Old, No Replies

PhpMyAdmin

error in configuring

         

esha_salz

6:36 am on Sep 9, 2004 (gmt 0)

10+ Year Member



I programmed my config.inc.php file with the codes below. But i cant go to the website.. It shows an error msg, "page cannot be displayed"

What haf i done wrong.. N i m actually not sure about my local host.. Cos i m using my school wireless network..

$cfg['PmaAbsoluteUri'] = 'http://www.example.com/phpMyAdmin-2.5.7-pl1/';

$i = 0;

$cfg['Servers'][$i]['host'] = 'example.com'; // MySQL hostname

$cfg['Servers'][$i]['port'] = '';

$cfg['Servers'][$i]['socket'] = '';

$cfg['Servers'][$i]['connect_type'] = 'tcp';

$cfg['Servers'][$i]['controluser'] = '';

$cfg['Servers'][$i]['controlpass'] = '';

$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'username'; // MySQL user
$cfg['Servers'][$i]['password'] = 'my_pass'; // MySQL password (only needed
// with 'config' auth_type)

[edited by: ergophobe at 2:14 pm (utc) on Sep. 10, 2004]
[edit reason] url exemplified, password and username generalized [/edit]

Zipper

9:49 am on Sep 9, 2004 (gmt 0)

10+ Year Member



If you're using Apache, create an Alias in your httpd.conf file which points to phpMyAdmin, and add "allow from all" if you want to access it using yoursite.com or "allow from 127.0.0.1" to access it locally.