B.A.T. Svensson was right. But... I thing the answer is mysql.exe -h myhost -u root -p mymass dbname < c:\my_file.txt
-- Best regards, George Nicolae IT Manager ___________________ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message news:001d01c289ab$fd38db90$ce017c0a@;3-hkg-02-0028.lumc.nl... > I believe this is the Win32 PHP mailing list. But I may be wrong. > > > -----Original Message----- > > From: Frank Tudor [mailto:frank_tudor@;yahoo.com] > > Sent: Monday, November 11, 2002 6:33 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] mysql running sql from txt file > > > > > > How do I run a sql statement from a txt file for mysql > > on win2k? I know it starts with source > > > > and my file is like C:\my_file.txt > > > > do I have to move this to bin or data before I can run > > it? > > > > Please help I know I'm close. > > > > Frank > > > > __________________________________________________ > > Do you Yahoo!? > > U2 on LAUNCH - Exclusive greatest hits videos > > http://launch.yahoo.com/u2 > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php