Re: DB Schema Comparison Utility ?

2007-10-03 Thread Baron Schwartz

Eric Frazier wrote:

Daevid Vincent wrote:
This has been asked for many many times on this list, not sure why 
mySQL AB

doesn't just release a command line tool like a 'mysql diff' and also a
'mysql lint'. The lint one should be totally trivial for them to do, 
as they
already have a SQL parser! I can't tell you how many times our daily 
build

was broken by a missing semi-colon or some other SQL syntax error. We run
all commits through php -l and ruby's checker, but mysql is the only 
one

we have to sweat over.

While I'm glad that pretty GUI tools like Upscene's exist, that 
doesn't do

us any good on a linux build system where it does an svn checkout, runs
automated BVT tests, compiles code, uploads to a daily build 
directory, etc.


We need command line tools that run on linux.

:(   
This is not quite what you were asking for, but I found this yesterday: 
http://sourceforge.net/projects/mysqltoolkit


I think the guy has done a lot of really good work.


Why thank you :-)

I kept meaning to reply to this thread and mention mysqldiff:
http://www.adamspiers.org/computing/mysqldiff/

(Now that I search Google for it, I also see http://www.mysqldiff.org/, 
but I'm unsure of the relationship between the two.)


I have not used it myself.

Baron

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



Re: DB Schema Comparison Utility ?

2007-10-03 Thread Eric Frazier

Daevid Vincent wrote:

This has been asked for many many times on this list, not sure why mySQL AB
doesn't just release a command line tool like a 'mysql diff' and also a
'mysql lint'. The lint one should be totally trivial for them to do, as they
already have a SQL parser! I can't tell you how many times our daily build
was broken by a missing semi-colon or some other SQL syntax error. We run
all commits through php -l and ruby's checker, but mysql is the only one
we have to sweat over.

While I'm glad that pretty GUI tools like Upscene's exist, that doesn't do
us any good on a linux build system where it does an svn checkout, runs
automated BVT tests, compiles code, uploads to a daily build directory, etc.

We need command line tools that run on linux.

:( 
  
This is not quite what you were asking for, but I found this yesterday: 
http://sourceforge.net/projects/mysqltoolkit


I think the guy has done a lot of really good work.

Thanks,

Eric

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



RE: DB Schema Comparison Utility ?

2007-10-02 Thread mark addison
On Mon, 2007-10-01 at 12:56 -0700, Daevid Vincent wrote:
 This has been asked for many many times on this list, not sure why mySQL AB
 doesn't just release a command line tool like a 'mysql diff' and also a
 'mysql lint'. The lint one should be totally trivial for them to do, as they
 already have a SQL parser! I can't tell you how many times our daily build
 was broken by a missing semi-colon or some other SQL syntax error. We run
 all commits through php -l and ruby's checker, but mysql is the only one
 we have to sweat over.
 
 While I'm glad that pretty GUI tools like Upscene's exist, that doesn't do
 us any good on a linux build system where it does an svn checkout, runs
 automated BVT tests, compiles code, uploads to a daily build directory, etc.
 
 We need command line tools that run on linux.
 
 :( 
 
:) Theres a perl tool called SLQ Fairy. Its main use is translating DDL
to other dialects, html, images, templates etc but it also has a very
handy sqlt-diff that does want you want from the command line.

http://search.cpan.org/~jrobinson/SQL-Translator-0.08001/
http://sqlfairy.sourceforge.net/
# cpan SQL::Translater

hth,
mark

  
 





MARK ADDISON
WEB DEVELOPER

200 GRAY'S INN ROAD
LONDON
WC1X 8XZ
UNITED KINGDOM
T +44 (0)20 7430 4678
F 
E [EMAIL PROTECTED]
WWW.ITN.CO.UK

P  Please consider the environment. Do you really need to print this email?
-Original Message-

  From: John Comerford [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, September 27, 2007 9:49 PM
  To: mysql@lists.mysql.com
  Subject: DB Schema Comparison Utility ?
  
  Hi Folks,
  
  I am new to MySQL.  We have a development environment where we have 
  three systems
  
  1) Developement Database on Machine A
  2) Test Databasae on Machine B
  3) Live Database on Machine C
  
  So we make changes to the Developement Database, then move 
  them to test 
  then to live.  My question is, is there a way of 
  automatically migrating 
  the changes from Dev to Test, Test to Live ?
  
  I have worked with a DB which had an admin function wherein you could 
  connect two databases and it would run a comparison between the two 
  databases and produce a file of schema differences which you could 
  import to make the two DB schema's the same.  Is there something like 
  this for MySQL ?
  
  TIA,
John
  
  -- 
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:
  http://lists.mysql.com/[EMAIL PROTECTED]
  
  
 

Please Note:

 

Any views or opinions are solely those of the author and do not necessarily 
represent 
those of Independent Television News Limited unless specifically stated. 
This email and any files attached are confidential and intended solely for the 
use of the individual
or entity to which they are addressed. 
If you have received this email in error, please notify [EMAIL PROTECTED] 

Please note that to ensure regulatory compliance and for the protection of our 
clients and business,
we may monitor and read messages sent to and from our systems.

Thank You.


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



RE: DB Schema Comparison Utility ?

2007-10-01 Thread Daevid Vincent
This has been asked for many many times on this list, not sure why mySQL AB
doesn't just release a command line tool like a 'mysql diff' and also a
'mysql lint'. The lint one should be totally trivial for them to do, as they
already have a SQL parser! I can't tell you how many times our daily build
was broken by a missing semi-colon or some other SQL syntax error. We run
all commits through php -l and ruby's checker, but mysql is the only one
we have to sweat over.

While I'm glad that pretty GUI tools like Upscene's exist, that doesn't do
us any good on a linux build system where it does an svn checkout, runs
automated BVT tests, compiles code, uploads to a daily build directory, etc.

We need command line tools that run on linux.

:( 

 -Original Message-
 From: John Comerford [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 27, 2007 9:49 PM
 To: mysql@lists.mysql.com
 Subject: DB Schema Comparison Utility ?
 
 Hi Folks,
 
 I am new to MySQL.  We have a development environment where we have 
 three systems
 
 1) Developement Database on Machine A
 2) Test Databasae on Machine B
 3) Live Database on Machine C
 
 So we make changes to the Developement Database, then move 
 them to test 
 then to live.  My question is, is there a way of 
 automatically migrating 
 the changes from Dev to Test, Test to Live ?
 
 I have worked with a DB which had an admin function wherein you could 
 connect two databases and it would run a comparison between the two 
 databases and produce a file of schema differences which you could 
 import to make the two DB schema's the same.  Is there something like 
 this for MySQL ?
 
 TIA,
   John
 
 -- 
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:
 http://lists.mysql.com/[EMAIL PROTECTED]
 
 


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



Re: DB Schema Comparison Utility ?

2007-09-28 Thread Martijn Tonies
Hello John,

 I am new to MySQL.  We have a development environment where we have
 three systems

 1) Developement Database on Machine A
 2) Test Databasae on Machine B
 3) Live Database on Machine C

 So we make changes to the Developement Database, then move them to test
 then to live.  My question is, is there a way of automatically migrating
 the changes from Dev to Test, Test to Live ?

 I have worked with a DB which had an admin function wherein you could
 connect two databases and it would run a comparison between the two
 databases and produce a file of schema differences which you could
 import to make the two DB schema's the same.  Is there something like
 this for MySQL ?

We have developed an IDE for database development that runs on
Windows and it includes a schema compare utility, have a look here:
www.upscene.com/documentation/dbw3/tools_schemacompare.htm

The tool is called Database Workbench, see www.upscene.com


I'm sorry to report that our webhosting service is in the middle of a
hardware update at the moment and the website appears to be down,
but it should be OK later this day.

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle 
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com


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



DB Schema Comparison Utility ?

2007-09-27 Thread John Comerford

Hi Folks,

I am new to MySQL.  We have a development environment where we have 
three systems


1) Developement Database on Machine A
2) Test Databasae on Machine B
3) Live Database on Machine C

So we make changes to the Developement Database, then move them to test 
then to live.  My question is, is there a way of automatically migrating 
the changes from Dev to Test, Test to Live ?


I have worked with a DB which had an admin function wherein you could 
connect two databases and it would run a comparison between the two 
databases and produce a file of schema differences which you could 
import to make the two DB schema's the same.  Is there something like 
this for MySQL ?


TIA,
 John

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