Hey,
heute habe ich einen Server eingerichtet mir Apache, im lokalen LAN. Apache und PHP läuft.
MySQL funktioniert auch, jedoch nur auf unserer gemieteten Domain bei 1 & 1.
Dazu musste die config.inc.php3 wie folgt angepasst werden:
$cfgServers[1]['host'] = 'db.puretec.de'; // MySQL hostname
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[1]['adv_auth'] = false; // Use advanced authentication?
$cfgServers[1]['stduser'] = 'root'; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = '123456'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = '12345678'; // MySQL password (only needed with basic auth)
$cfgServers[1]['only_db'] = 'db123456'; // If set to a db-name, only this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
Was muss ich eintragen, damit wir nun lokal arbeiten können?
$cfgServers[1]['host'] = '123.123.123.12'; // MySQL hostname (IP-Adresse)
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[1]['adv_auth'] = false; // Use advanced authentication?
$cfgServers[1]['stduser'] = 'root'; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = '??????'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = '??????'; // MySQL password (only needed with basic auth)
$cfgServers[1]['only_db'] = '????????'; // If set to a db-name, only this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
Was muss ich für die <?> eintragen?
Die gesamte Installation (Apache und PHP) habe ich streng nach Anleitung durchgeführt MySQL Datenhandbuch (www.little-idiot.de), es funktioniert auch.
Beim Aufruf von MySQL auf dem Server kommt jedoch die folgende Fehlermeldung:
Error 2003: Can't connect to MySQL server on localhost (10061).
In welcher Datei wird MySQL konfiguriert?
Der Aufruf von der Workstation funktioniert natürlich auch nicht.
Vielen Dank
Tanja