[FLOW3-general] Flow3 doctrine:migrate error
Peter Russ
peter.russ at 4many.net
Tue Aug 28 09:36:30 CEST 2012
--- 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
More information about the FLOW3-general
mailing list