Beste lui,
Ik heb zojuist de nieuwste versie van PhpMyAdmin draaien. Werkt goed. Maar nu wil ik meerdere servers in 1 dezelfde installatie van PMA kunnen bereiken. In de manual hierover staat dit:
Maar in de config file staat dit:$cfg[Servers] array
Since version 1.4.2, phpMyAdmin supports the administration of multiple MySQL servers. Therefore, a $cfg['Servers']-array has been added which contains the login information for the different servers. The first $cfg['Servers'][$i]['host'] contains the hostname of the first server, the second $cfg['Servers'][$i]['host'] the hostname of the second server, etc. In libraries/config.default.php, there is only one section for server definition, however you can put as many as you need in config.inc.php, copy that block or needed parts (you don't have to define all settings, just those you need to change).
Wanneer ik doe:Code:/** * Server(s) configuration */ $i = 0; // The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use // $cfg['Servers'][0]. You can disable a server config entry by setting host // to ''. If you want more than one server, just copy following section // (including $i incrementation) serveral times. There is no need to define // full server array, just define values you need to change. $i++; $cfg['Servers'][$i]['host'] = 'sql.domein.nl'; // MySQL hostname or IP address
Krijg ik een framespagina waar ik niet kan inloggen.Code:$cfg['Servers'][$i]['host'] = 'sql.domein.nl'; // MySQL hostname or IP address $cfg['Servers'][$i]['host'] = 'sql2.domein.nl'; // MySQL hostname or IP address
Wanneer ik doe:
Krijg ik de error "Host naam is leeg".Code:$cfg['Servers'][$1]['host'] = 'sql.domein.nl'; // MySQL hostname or IP address $cfg['Servers'][$2]['host'] = 'sql2.domein.nl'; // MySQL hostname or IP address
Heeft iemand een voorbeeldje hoe ik meerdere servers kan toevoegen aan de config.inc.php? Want ik kom er niet uit!

Likes:

