Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
-none-

-none-

2007-10-02       - By mark addison

 Back
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 (See http://tor-0.ora-code.com).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 MARK.ADDISON@(protected)
WWW.ITN.CO.UK

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

> > From: John Comerford [mailto:johnc@(protected)]
> > Sent: Thursday, September 27, 2007 9:49 PM
> > To: mysql@(protected)
> > 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/mysql?unsub?evid@(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 postmaster@(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/mysql?unsub=mysql@(protected)