MySQL Befehlsfrage
Posted: 2004-03-13 14:50
Hi !
Ich hab mir ein kleines Script gebastellt um täglich 4 Werte in meiner MySQL DB upzudaten. Allerdings nimmer sie nicht richtig an.
Das Script sieht wie folgt aus.
es ist eine Datei die täglich per Cron Job ausgeführt wird.
Ich bekomme allerdings imemr folgende Fehler.
in die Mysql Console kommt er rein, dann ist aber Schluss.
Weiss einer was ich falsch gemacht habe ?
Danke
Bye Nils
Ich hab mir ein kleines Script gebastellt um täglich 4 Werte in meiner MySQL DB upzudaten. Allerdings nimmer sie nicht richtig an.
Das Script sieht wie folgt aus.
Code: Select all
mysql -p*****
USE confixx;
UPDATE kunden SET quota=1;
UPDATE ftp SET quota=1;
UPDATE pop3 SET quota=1;
UPDATE allgemein SET quota=1;
quit
Ich bekomme allerdings imemr folgende Fehler.
Code: Select all
./quota: line 3: USE: command not found
./quota: line 4: UPDATE: command not found
./quota: line 5: UPDATE: command not found
./quota: line 6: UPDATE: command not found
./quota: line 7: UPDATE: command not found
./quota: line 9: quit: command not found
Weiss einer was ich falsch gemacht habe ?
Danke
Bye Nils