问题描述
如何在 mariadb 中使用 symfony 3?
How can i use symfony 3 with mariadb?
但我也想使用学说,但我没有看到任何有用的信息http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#sqlanywhere
But i want to use doctrine also but i did not see any useful information onhttp://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#sqlanywhere
所以请指导或提供正确的文章链接谢谢.
So please guide or provide proper article link thanks.
推荐答案
如果你让教义:schema:update 一次又一次地显示相同的迁移,请考虑将其添加到您的配置中:
If you get doctrine:schema:update to show the same migrations again and again, consider adding this to your config:
doctrine:
dbal:
server_version: 'mariadb-X.X.X'
将 X.X.X 替换为安装在执行机器上的真实版本的 mariadb.
Replacing X.X.X with the real version of mariadb installed on the executing machine.
这篇关于如何将 symfony 3 与 mariadb 和教义一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!