macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Re: Batch File & MySQL

Subject: Re: Batch File & MySQL
From: "Dan Bracuk"
Date: Sat, 15 Sep 2007 10:17:20 +0000 UTC
Newsgroups: macromedia.coldfusion.advanced_techniques

Somewhere in there you need a connect string.  I don't know how to do it with 
windows/MySql, but I'll show you how to do it with unix/redbrick.  It might 
illuminate a light bulb over someone's head.

 echo "
 your sql goes here
 " | risql -d database_name user_name password 2> file_of_your_choice

 in that example, risql is the program that connects to the db.


<Prev in Thread] Current Thread [Next in Thread>