symfony 1.49 和 MySQL 5.5.8 的问题 [英] Issue with symfony 1.49 and MySQL 5.5.8
问题描述
当我使用 symfony propel:build-sql
生成模型时symfony 生成一个文件,在每个创建语句后添加Type=InnoDB".
但是当我使用 symfony propel:insert-sql
在数据库中插入表时我有一个错误,所以我必须通过Engine=InnoDB"手动更改Type=InnoDB"
所以,问题是:有没有办法让 symfony 自动做这个改变?
when I go to generate the model with symfony propel:build-sql
symfony generate a file where after each create sentece adds "Type=InnoDB".
But when I go to insert the tables in the db with symfony propel:insert-sql
I've got an error, so I have to change manually "Type=InnoDB" by "Engine=InnoDB"
So, the question: Is there a way to symfony do this change automatically?
推荐答案
查看这个问题,似乎它为您提供了解决方案 — symfony 1.4 propel:build-all 不适用于 Mysql 5.5
Check out this question, seems like it has a solution for you — symfony 1.4 propel:build-all not working on Mysql 5.5
这篇关于symfony 1.49 和 MySQL 5.5.8 的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!