Koozali.org: home of the SME Server

phpmyadmin

Robert

phpmyadmin
« 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

sam

Re: phpmyadmin
« Reply #1 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

Kevin Mcclain

Re: phpmyadmin
« Reply #2 on: April 30, 2003, 04:36:46 PM »

Mntsnow

Re: phpmyadmin
« Reply #3 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.

Robert

Re: phpmyadmin
« Reply #4 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

GG

Re: phpmyadmin
« Reply #5 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?

Brian Read

Re: phpmyadmin
« Reply #6 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