Index: [Article Count Order] [Thread]

Date:  Fri, 16 Apr 2004 16:20:07 +0200
From:  =?us-ascii?Q?Trond_Huso?= <tr-huso (at mark) online.no>
Subject:  [coba-e:00593] Re: MySQL on BQ.
To:  <coba-e (at mark) open.cobaltqube.org>
Message-Id:  <007e01c423bd$ecc6a910$0100000a@mainpc>
In-Reply-To:  <20040416134939.8426C6AC3F (at mark) ueb2.infase.es>
X-Mail-Count: 00593

If this is of interest:
We just added phpMyAdmin and added the following stuff in the config.inc.php

$cfg['PmaAbsoluteUri'] = $_SERVER["SERVER_NAME"]."/_myadm";
$onlydb = $_SERVER["SERVER_NAME"];

# If you are login in from the main server, you want to be root and list all

# databases. Insert the domain here.
if ($onlydb != www.yourrootdomainhere.com)
    {
    $onlydb = ereg_replace ("www", "", $onlydb);
    $onlydb = ereg_replace ("\.", "", $onlydb);
    } else {
    $onlydb = "";
    }
#Then change the following variables to this:
$cfg['Servers'][$i]['auth_type']     = 'http';
$cfg['Servers'][$i]['user']          = $PHP_AUTH_USER;
$cfg['Servers'][$i]['password']      = '';          
$cfg['Servers'][$i]['only_db']       = $onlydb;    

We then put phpmyadmin under /home/sites/_myadm and added the following line
to the httpd.conf file:
Alias /_myadm "/home/sites/_myadm"

When installing new users to the database, set databasename to the same as
domain-name minus www and dots
Users will then be able to log into the phpmyadm under
www.theirsite.com/_myadm and do whatever they want to do with their
database.

-Trond-


-----Original Message-----
From: Ton Machielsen [mailto:ton (at mark) inter.net] 
Sent: 16. april 2004 15:50
To: coba-e (at mark) open.cobaltqube.org
Subject: [coba-e:00592] Re: MySQL on BQ.

>Meanwhile you can use the MySQL and phpMyAdmin RPMS.
>(the original ones, that is... Not from Blue Quartz)

Well, the package installs OK, so that's already done. So i guess i'll have
to find the place to add the phpMyAdmin link then. 

Thanks,

Ton.