Seite 1 von 5
phpbb auf windows xp
Verfasst: 11.02.2004 22:01
von tata
habe IIs server mysql server und php instaliert.
Zur testzwecken bin ich gerade dabei phpbb auf eigene rechner zu installieren.
Es erscheint folgende Meldung:
phpBB : Kritischer Fehler
Could not connect to the database
wie und wo soll dieses database aussehen? weisst jemand Rat?
Danke in voraus
Verfasst: 11.02.2004 22:04
von itst
Eine dieser DBMS solltst Du installieren:
http://www.phpbb.de/features.php#datenbank
Verfasst: 11.02.2004 22:33
von tata
Hi,
du meinst die version 4,0.xx wird nicht unterstützt.
Ich habe einfach die neuste version von mysql runtergeladen und installiert und das nach anweisungen no Tante Helma Spona in "Datenbankprogrammierung mit mysql 4 und php.
Ausserdem scheint es mir im gegensatz zu der Vorgehensweise von Spona, müsste man mysql auch in virtuelle Verzeichnis vom IIs installieren und nicht irgendwo auf dem Rechner!
Verfasst: 11.02.2004 23:14
von itst
Verfasst: 11.02.2004 23:46
von tata
was mache ich denn falsch?
Warning: mysql_connect(): Unknown MySQL Server Host 'http' (11001) in F:\php_beispiele\forum-entpackt\db\mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in F:\php_beispiele\forum-entpackt\db\mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in F:\php_beispiele\forum-entpackt\db\mysql4.php on line 331
phpBB : Kritischer Fehler
Could not connect to the database
Verfasst: 12.02.2004 00:04
von PhilippK
Was gibst du denn als Adresse des Servers an? localhost ohne http:// sollte da reichen
Gruß, Philipp
Verfasst: 12.02.2004 00:17
von tata
habe einiges geändert.
nun scheint es an passwort liegen habe alle varianten probiert.
Das was in mysql-ini steht passwort und user name eingegeben trotzdem kommt die Meldung:
Warning: mysql_connect(): Access denied for user: 'xxxx@localhost' (Using password: YES) in F:\php_beispiele\forum-entpackt\db\mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in F:\php_beispiele\forum-entpackt\db\mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in F:\php_beispiele\forum-entpackt\db\mysql4.php on line 331
phpBB : Kritischer Fehler
Could not connect to the database
Verfasst: 12.02.2004 00:21
von tata
330 und 331:
{
$result['message'] = mysql_error($this->db_connect_id);
$result['code'] = mysql_errno($this->db_connect_id);
und 48:
$this->db_connect_id = ($this->persistency) ? mysql_pconnect($this->server, $this->user, $this->password) : mysql_connect($this->server, $this->user, $this->password);
Verfasst: 12.02.2004 00:36
von netzmeister
Hallo tata,
Warning: mysql_connect(): Access denied for user: 'dayere@localhost' (Using password: YES) in F:\php_beispiele\forum-entpackt\db\mysql4.php on line 48
Hier steht es eigentlich..
der User "dayere" hat keinen Zugriff auf deinen MySQL Server.
Exisitiert dieser User auf dem MySQL Server ?
Gruß Matthias
Verfasst: 12.02.2004 00:39
von tata
ja in my.ini steht:
user=dayere