Mysql db migration jams up with Typo 5.4.4

Cyril M. cyril.mougel at gmail.com
Fri Apr 23 08:10:29 EDT 2010

It’s seems that this error because you don’t starting your database by
migration.

Can you send us the result of :

select * from schema_migrations;

Certainly. Now that you mention it, I did get an error about “typo has
already stopped…” or something along those lines. But that wasn’t a
surprise, since it definitely wasn’t working at the time (couldn’t
restart after updating some gems).

Here’s my results:

mysql> select * from schema_migrations;
±--------+
| version |
±--------+
| 84 |
±--------+
1 row in set (0.04 sec)

Simon

Hi Simon,

On 04/23/2010 11:06 PM, Simon Brown wrote:

mysql> select * from schema_migrations;
±--------+
| version |
±--------+
| 84 |
±--------+
1 row in set (0.04 sec)

That’s definitely wrong. There should be an entry for each migration,
not just
the last one. If you insert one record for each migration number 1
through 83,
things should work fine again.

Regards,