On Fri, 2007-11-09 at 13:22 +0100, Pau Marc Munoz Torres wrote: > Hi everybody > > I'm writing a function script in a flat file using vim, now i would like > load it into my sql, there is some command to do it similar to "load data > into" to fill tables? > > thanks >
Sure, >From command line: mysql -u username -p database < file-containing-sql -Mike