Path: csiph.com!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: Peter Kiederich Newsgroups: de.comp.lang.php Subject: Re: Frage zu phpMyAdmin Date: Mon, 19 Jun 2017 13:48:33 +0200 Lines: 79 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.dfncis.de ZGIZ6O2HJ8mu3nWFGYYyfA/oYPfmQopBQDSujaGbc8uFgTsMbKTLNgkMz+ Cancel-Lock: sha1:6DMJLGlN4LXnUVTn5/bU0QgmdGk= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: Xref: csiph.com de.comp.lang.php:4130 Am 19.06.2017 um 12:59 schrieb Peter Kiederich: > Am 19.06.2017 um 12:30 schrieb Gerome Muent: >> Am 19.06.2017 um 12:04 schrieb Peter Kiederich: >> >> >>> Ich möchte die verschiednen MySql Server auf der Loginseite von php >>> auswählen können. >>> Frage wo kann man das in den php Scripen und wie muss man es machen ? >>> >>> Beispiel siehe https://www.uni-due.de/phpmyadmin/ >> >> Du meist die Login-Seite von phpmyadmin? >> >> Hier genau beschrieben: >> https://tecadmin.net/add-multiple-hosts-in-phpmyadmin/ > Sorry das habe ich doch gemacht : Siehe hier .. > > $i = 0; > $i++; > $cfg[Servers][$i]['auth_type'] = 'cokie'; > $cfg['Servers'][$i]['verbose'] = 'small.fritz.box'; > $cfg[Servers][$i]['host'] = 'localhost'; > $cfg['Servers'][$i]['port'] = '3306'; > $cfg['Servers'][$i]['socket'] = ''; > $cfg['Servers'][$i]['user'] = '*****'; > $cfg['Servers'][$i]['password'] = ''; > $cfg['Servers'][$i]['extension'] = 'mysqli'; > $cfg[Servers][$i]['compress'] = false; > $cfg[Servers][$i]['AllowNoPassword'] = false; > /** > * Second server > */ > $i++; > $cfg[Servers][$i]['auth_type'] = 'cokie'; > $cfg['Servers'][$i]['verbose'] = 'bigmamma.fritz.box'; > $cfg[Servers][$i]['host'] = '10.0.1.2'; > $cfg['Servers'][$i]['port'] = '3306'; > $cfg['Servers'][$i]['socket'] = ''; > $cfg['Servers'][$i]['user'] = '*****'; > $cfg['Servers'][$i]['password'] = ''; > $cfg['Servers'][$i]['extension'] = 'mysqli'; > $cfg[Servers][$i]['compress'] = false; > $cfg[Servers][$i]['AllowNoPassword'] = false; > /** > * Second Server > $i++; > $cfg[Servers][$i]['auth_type'] = 'cokie'; > $cfg['Servers'][$i]['verbose'] = 'small.fritz.box'; > $cfg[Servers][$i]['host'] = 'localhost'; > $cfg['Servers'][$i]['port'] = '3306'; > $cfg['Servers'][$i]['socket'] = ''; > $cfg['Servers'][$i]['user'] = 'root'; > $cfg['Servers'][$i]['password'] = ''; > $cfg['Servers'][$i]['extension'] = 'mysqli'; > $cfg[Servers][$i]['compress'] = false; > $cfg[Servers][$i]['AllowNoPassword'] = false; > /** > * Third server > */ > $i++; > $cfg[Servers][$i]['auth_type'] = 'cokie'; > $cfg['Servers'][$i]['verbose'] = 'oldman.fritz.box'; > $cfg[Servers][$i]['host'] = '10.0.1.7'; > $cfg['Servers'][$i]['port'] = '3306'; > $cfg['Servers'][$i]['socket'] = ''; > $cfg['Servers'][$i]['user'] = '***'; > $cfg['Servers'][$i]['password'] = ''; > $cfg['Servers'][$i]['extension'] = 'mysqli'; > $cfg[Servers][$i]['compress'] = false; > $cfg[Servers][$i]['AllowNoPassword'] = false; > > Aber trotzdem erscheint es nicht Hast Du da noch eine Idee ? > > Lg Peter > > hat sich erledigt habe das falsche config file bearbeitet (SRV) statt (ETC) lg Peter