Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Robert on April 30, 2003, 01:35:33 PM

Title: phpmyadmin
Post by: Robert on April 30, 2003, 01:35:33 PM
hi,
ive donwloaded phpmyadmin-2.5.0-rc2-php.tar, and looked at Documentation.txt, hoping someone knows more than me and can tell me....

1. 'untar in to webserver's document root'  ? where is that?

2. 'change config to set host, user, password and authentication mode to fit  your environment' ? what should they be?

3. 'protect the directory  phpMyAdmin is installed in' ? how ?

4. any other info greatly appreciated

TIA Rob
Title: Re: phpmyadmin
Post by: sam on April 30, 2003, 01:55:48 PM
this is the way I get it working:
1. Extract into an ibay e.g "intranet"
2. Go into the config.inc.php file.
3. Edit the part thats got $cfg['PmaAbsoluteUri']
so that it looks like:
$cfg['PmaAbsoluteUri'] = http://your ip/intranet/phpMyAdmin

4. FInd your mysql root password (the .my.cnf file in /root has it) . Say its "secret"
the edit lines 73,74,75 so that they look like
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
$cfg['Servers'][$i]['password']      = 'secret';          // MySQL password (only needed

thats it!
Point your broswer to  http://your ip/intranet/phpMyAdmin and your up and running

sam
Title: Re: phpmyadmin
Post by: Kevin Mcclain on April 30, 2003, 04:36:46 PM
Or you could get RPM from Darrell May at
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/phpmyadmin/e-smith-phpmyadmin-2.5.0-5dmc.noarch.rpm
Which does all the setup for you.
Title: Re: phpmyadmin
Post by: Mntsnow on April 30, 2003, 07:13:09 PM
I would suggest the pre-setup rpm as it also puts the phpmyadmin only avalible via httpS instead of http.
Title: Re: phpmyadmin
Post by: Robert on May 01, 2003, 05:26:39 AM
thanks to all...
sam, the pre-setup suggested here is easier (thanks Kevin),
and thanks to mntsnow - or i would have missed the https !
and of course thanks to darryl may for his usually easy rpm!
ITS WORKING LIKE A DREAM
best regards Robert
Title: Re: phpmyadmin
Post by: GG on May 14, 2003, 12:24:25 AM
I've load the pre-setup phpmyadmin. However, it does not setup cfg$ stuff in the config.inc.php file. I also cannot find the config.inc.php, where is it located?
Title: Re: phpmyadmin
Post by: Brian Read on May 14, 2003, 10:08:27 AM
In the top directory thaqt you have nstalled phpadmin in, try

/opt/phpMyAdmin

(watch the caps).

cheers

Brian