Re: MySQL Dump and Restore with Cake

2006-08-17 Thread Sonic Baker
Thanks for your help teemow. Cheers, Sonic --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email

Re: MySQL Dump and Restore with Cake

2006-08-17 Thread Timo Derstappen
> I had a look at this before but didn't want to get into it yet until I have > do my first release. Then I might use it for migrations. I never thought of > it for testing though. thinking of automatic deployment it is much worth to even create your very first database tables with migrations.

Re: MySQL Dump and Restore with Cake

2006-08-16 Thread Sonic Baker
Hi teemow, Thanks for your reply.On 8/16/06, teemow <[EMAIL PROTECTED]> wrote: there is a script for database migrations:http://wiki.cakephp.org/tutorials:cake_migrations I had a look at this before but didn't want to get into it yet until I have do my first release. Then I might use it for migrat

Re: MySQL Dump and Restore with Cake

2006-08-16 Thread teemow
there is a script for database migrations: http://wiki.cakephp.org/tutorials:cake_migrations i started adding some command line options to run the migrations automatically in a deploy script and to migrate test and default database. so you can theoretically do the same thing in your tests. but i

Re: MySQL Dump and Restore with Cake

2006-08-15 Thread Sonic Baker
Hi, I'd like to be able to unit test my code in it's own test database with limited test data. No data is supposed to persist between tests so I'd like to reset the test database to a known state between each test. I also export my schema as the structure changes between versions. In order to make

Re: MySQL Dump and Restore with Cake

2006-08-15 Thread Michael
why you need to do that? you can use phpmyadmin to restore the sql file, that's all. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com T

MySQL Dump and Restore with Cake

2006-08-14 Thread Sonic Baker
Hi there, Does anyone know of a cake compatible class capable of restoring a MySQL database exported from phpMyAdmin. I've tried four already but as of yet none seem to work. Cheers, Sonic --~--~-~--~~~---~--~~ You received this message because you are subscribed