本文介绍了我如何将symfony 3与mariadb和学说一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何将symfony 3与mariadb一起使用?
How can i use symfony 3 with mariadb?
但是我也想使用教义,但是我没有在
上看到任何有用的信息
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.
推荐答案
如果您得到doctrine: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'
用执行机器上安装的mariadb真实版本替换XXX。
Replacing X.X.X with the real version of mariadb installed on the executing machine.
这篇关于我如何将symfony 3与mariadb和学说一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!