[FLOW3-general] Flow3 doctrine:migrate error
Arnaud BECKER
ab.webmasters at gmail.com
Tue Aug 28 11:41:21 CEST 2012
A doctrine:update
+
doctrine:migrationversion --version all --add
did the trick.
Thanks
Le 28 août 2012 à 09:36, Peter Russ a écrit :
> --- Original Nachricht ---
> Absender: Arnaud BECKER
> Datum: 28.08.2012 09:04:
>> Thanks Robert for your answer.
>>
>> But the persistence: backendOptions are the right ones.
>> And the PHPMyAdmin tells me there is no table inside this database.
>> And the migration is always crashing with the same table, but it still creates a dozen other tables.
>>
>> Any other idea ?
>>
>>
>
> There might be a difference between the users and settings:
> when calling phpMyAdmin you will have the settings from Apache. If you run migrate on the console the settings might be different from Apache depending on your .bashrc or .bash_profile.
>
> If this doesn't help, do the following:
>
> ;get a list of all available migrations
> #./flow3 doctrine:migrationstatus
>
> ;now activate a migration (just an example!)
> #./flow3 doctrine:migrationexecute 20110613223837
> ;if the migration fails (i.e. you get an exception or error) mark it as migrated
> ./flow3 doctrine:migrationversion --version 20110613223837 --add
>
> after you migrated all items run again
> #./flow3 doctrine:migrationstatus
>
> Your db should be fine now.
>
> But as mentioned above: I would bet that there is a differnce in the settings between console and Apache!
>
> Peter.
>
> --
> Fiat lux! Docendo discimus.
> _____________________________
> uon GbR
>
> http://www.uon.li
> http://www.xing.com/profile/Peter_Russ
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list