gpt4 book ai didi

mysql - symfony 1.4 推进 :build-all not working on Mysql 5. 5

转载 作者:IT老高 更新时间:2023-10-29 00:07:10 26 4
gpt4 key购买 nike

我正在使用 Symfony 1.4.8 和 Mysql 5.5 运行时出现此错误

symfony 推进:构建全部

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘Type=InnoDB’ at line 1 1

最佳答案

解决了这个问题。似乎在 DDL 中,您不能再说“Type=InnoDB|MyISAM|Foo”了。你必须说“Engine=InnoDB|MyISAM”所以编辑一个文件

symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/builder /sql/mysql/MysqlDDLBuilder.php

Line 156, change it as follows:- $script .= “Engine=$mysqlTableType”;

关于mysql - symfony 1.4 推进 :build-all not working on Mysql 5. 5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5040826/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com