Am Samstag, den 11.12.2004, 15:57 +0100 schrieb Thomas Bartholomäus:
Hallo,
will über ein php-script eine datenbank anlegen:
html
body
h3Datenbank erstellen/h3
?php
$db=mysql_connect(localhost,root,);
$anfrage=CREATE DATABASE db_1;
mysql_query($anfrage);
mysql_close($db);
?
/body
Hallo,
hallo Thomas,
wie sieht Deine my.cnf aus? Ist skip networking auskommentiert?
Michael
--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an
On 11.Dec 2004 - 15:57:22, Thomas Bartholomäus wrote:
Hallo,
will über ein php-script eine datenbank anlegen:
Fatal error: Call to undefined function: mysql_connect() in
/var/www/apache2-default/taberstellen.php on line 6
Du möchtest auch noch mal schauen was die apt-cache search php4
Hallo,
will über ein php-script eine datenbank anlegen:
html
body
h3Datenbank erstellen/h3
?php
$db=mysql_connect(localhost,root,);
$anfrage=CREATE DATABASE db_1;
mysql_query($anfrage);
mysql_close($db);
?
/body
/html
beim ausführen kommt fehlermeldung:
Fatal error: Call to undefined
Thomas Bartholomäus wrote:
Fatal error: Call to undefined function: mysql_connect() in
/var/www/apache2-default/taberstellen.php on line 6
Ich habe sarge laufen, php4, mysql und apache 2.
Moeglicherweise hilft das:
apt-get install php4-mysql
--
Haeufig gestellte Fragen und Antworten (FAQ):
Am Sa, den 11.12.2004 schrieb Andre Duffeck um 16:12:
Am Samstag, den 11.12.2004, 15:57 +0100 schrieb Thomas Bartholomäus:
Hallo,
will über ein php-script eine datenbank anlegen:
html
body
h3Datenbank erstellen/h3
?php
$db=mysql_connect(localhost,root,);
$anfrage=CREATE
6 matches
Mail list logo