Re: mysql driving make.

2006-01-17 Thread Gleb Paharenko
Hello.

Please, could you explain more in detail what is the problem to check
table dependencies? mysql command line client supports the batch mode,
and you can run queries with -e option in the command line. See:
  http://dev.mysql.com/doc/refman/5.0/en/mysql-command-options.html


Hugh Sasse wrote:
> I have a database backed-website in development.  (It's Rails based,
> but for this question it probably doesn't matter.)  To make sure
> things are clean during development I re-generate things from a
> script.  Some things I generate depend on tables existing.  Other
> things depend on tables being populated with data.   And my testing
> depends on the web application having been created as well as the 
> tables populated.
> 
> Clearly the above dependency graph is asking for a Makefile.  So how
> do I check the table dependencies from make?   Searching for mysql
> and make mostly turns up building instructions, of course, so it's
> tricky to find the answer to this.
> 
> This is with Mysql 4.1.x, cygwin and Solaris.
> 
> Thank you
> Hugh


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   <___/   www.mysql.com

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



mysql driving make.

2006-01-16 Thread Hugh Sasse
I have a database backed-website in development.  (It's Rails based,
but for this question it probably doesn't matter.)  To make sure
things are clean during development I re-generate things from a
script.  Some things I generate depend on tables existing.  Other
things depend on tables being populated with data.   And my testing
depends on the web application having been created as well as the 
tables populated.

Clearly the above dependency graph is asking for a Makefile.  So how
do I check the table dependencies from make?   Searching for mysql
and make mostly turns up building instructions, of course, so it's
tricky to find the answer to this.

This is with Mysql 4.1.x, cygwin and Solaris.

Thank you
Hugh

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]