"We are back" « oc.at

mysql; Batch Mode/file

.DS. 12.12.2003 - 13:12 513 2
Posts

.DS.

Little Overclocker
Avatar
Registered: Sep 2003
Location: Somewhere
Posts: 81
hi!

i hab scho gesucht und gefunden, aba es geht net.

i will nen batch-file ausführen (in mysql)

i hab einfach den namen geschriebn, aba er gibt nen fehler aus.

mysql> tmp.sql;
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'tmp.sql' at line 1

pls help

tia
Bearbeitet von .DS. am 12.12.2003, 19:31

watchout

Legend
undead
Avatar
Registered: Nov 2000
Location: Off the grid.
Posts: 6845
Code:
source 'tmp.sql'

.DS.

Little Overclocker
Avatar
Registered: Sep 2003
Location: Somewhere
Posts: 81
:bash: thx watchout :D
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz