Re: mysql running sql from txt file
| From: | George Nicolae | Date: | Sun, 10 Nov 2002 18:38:28 +0000 |
| Subject: | Re: mysql running sql from txt file | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16870@lists.php.net to get a copy of this message | ||
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" <B.A.T.Svensson@lumc.nl> 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: php-windows@lists.php.net
> > 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
> >