RE: [PHP-WIN] MySQL in Batch Mode.
| From: | Woods Ron Contr SA-ALC/FMIS | Date: | Tue, 05 Dec 2000 17:22:20 +0000 |
| Subject: | RE: [PHP-WIN] MySQL in Batch Mode. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4307@lists.php.net to get a copy of this message | ||
From a DOS prompt try;
mysql -u<user> -p<password> < [filename with any ext]
first command in [filename] should be use <db name>;
Ron Woods/GAI
Sr. Software Engineer
1777 N.E. Loop 410
Suite 600
San Antonio, TX 78217
Tel: 210-820-2615
Fax: 210-832-0487
http://www.gai-inc.com
-----Original Message-----
From: PHP [mailto:mwazir@vsnl.com]
Sent: Tuesday, December 05, 2000 11:19 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] MySQL in Batch Mode.
Hi,
I want to populate a small database from a script file in MySQL. Basically
has CREATE TABLE and INSERT statements.
Can anyone give me an example of running this script in batch mode. Is MySQL
specific about the file extention.
Any syntax example would do. I can pick on and experiment from there.
Thanks a lot
- Mujahid
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net