jetzt möchte ich aber per config.ini.php 2 datenbanken ansprechen inkl. derer benutzer mit passwort. meine config schaut im moment so aus:
- Code: Select all
<?php
/*
* Generated configuration file
* Generated by: phpMyAdmin 2.9.1 setup script by Michal Cihar <michal@cihar.com>
* Version: $Id: setup.php 9484 2006-10-03 13:11:22Z nijel $
* Date: Wed, 15 Nov 2006 17:01:27 GMT
*/
/* Servers configuration */
$i = 0;
/* Server ########## (config:#######) [1] */
$i++;
$cfg['Servers'][$i]['host'] = '######.#####.de';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = array('user1', 'user2');
$cfg['Servers'][$i]['password'] = array('passwort1', 'passwort2');
$cfg['Servers'][$i]['only_db'] = array('DB1', 'DB2');
/* End of servers configuration */
?>
danke schon mal im vorraus - mfg rene