symfony2\app\config\config.yml修改一下doctrine:dbal:driver:   %database_driver%host:     %database_host%port:     %database_port%dbname:   %database_name%user:     %database_user%password: %database_password%charset:  UTF8# if using pdo_sqlite as your database driver, add the path in parameters.yml# e.g. database_path: %kernel.root_dir%/data/data.db3# path:     %database_path%orm:auto_generate_proxy_classes: %kernel.debug%auto_mapping: true

修改成
doctrine:dbal:driver:   %database_driver%host:     %database_host%port:     %database_port%dbname:   %database_name%user:     %database_user%password: %database_password%charset:  UTF8# if using pdo_sqlite as your database driver, add the path in parameters.yml# e.g. database_path: %kernel.root_dir%/data/data.db3# path:     %database_path%mapping_types:enum: stringset: stringvarbinary: stringtinyblob: textorm:auto_generate_proxy_classes: %kernel.debug%auto_mapping: true

  

  

转载于:https://www.cnblogs.com/zlx7/p/6845651.html

doctrine 报错处理办法: Unknown database type enum requested相关推荐

  1. VUEX模块化不同模块调用其它模块的mutations报错: [vuex] unknown mutation type: XXX

    cart.js mutations:{delGoods(){ console('删除商品') }} order.js mutations:{createdorder(){ commit('delGoo ...

  2. linux u盘 挂载 type,Linux挂载U盘报错:mount: unknown filesystem type 'ntfs'

    原因:由于Linux上无法识别NTFS格式的分区的原因 解决方法:安装 ntfs-3g 1.下载:wget https://tuxera.com/opensource/ntfs-3g_ntfsprog ...

  3. 【matlab】【Datcom】气动解算软件win10报错解决办法及运行交互示例

    版本说明 免费版本仍然可用.尚未使用Datcom + Pro版本的功能进行更新.没有大量的工作,我无法生成新的分发程序包,并且我现在对此不感兴趣.建议您观看教程视频,以了解使用新的Datcom + P ...

  4. SAP VLPOD 报错 - Update control of movement type is incorrect (entry 107 X X E B _ E) - 之对策

    SAP VLPOD 报错 - Update control of movement type is incorrect (entry 107 X X E B _ E) - 之对策 如下的DN 8002 ...

  5. mybatis项目启动报错 The content of element type resultMap must match (constructor?,id*,result*,associat...

    启动项目报错 2018-02-26 17:09:51,535 ERROR [org.springframework.web.context.ContextLoader] - Context initi ...

  6. mysql max字符串报错_mysql [Warning] max_join_size报错问题解决办法

    文章介绍了关于mysql [Warning] max_join_size报错问题解决办法,有需要的同学看看. 100716 06:32:45 d started 100716 6:32:45 [War ...

  7. M1 pod install CocoaPod 报错解决办法

    Mac M1 pod install 报错解决办法 Mac M1 CocoaPods 环境问题 M1 Ruby 环境问题 新到的 MacBook Pro M1,配置如下: MacBook Pro (1 ...

  8. 数据库数据修改报错The instance of entity type ‘XXX‘ cannot be tracked

    在数据库更新时, 1 首先查找数据库是否包含该项 2 然后更新该项目获添加, 在先查找的时候已经跟踪数据 第二步插入会报错The instance of entity type 'XXX' canno ...

  9. scp或者ssh报错“no matching host key type found. Their offer: ssh-rsa,ssh-dss“

    scp或者ssh报错"no matching host key type found. Their offer: ssh-rsa,ssh-dss" 原因:OpenSSH 7.0以后 ...

最新文章

  1. OpenCV Manager package was not found Try to install it?
  2. android popupwindow 自定义背景,android – 无法将PopupWindow背景设置为透明
  3. PyTorch报错No module named ‘transforms‘
  4. Bash脚本教程之set命令
  5. C++ int转string以及源码
  6. React+Webpack+Eslint+Babel构建React脚手架
  7. SpringCloud+OAuth2+Redis实现的微服务统一认证授权
  8. 金融危机和丘处机的关系
  9. 大数据Hadoop最新版实战Linux Ubuntu 16.04安装与运行测试例子...
  10. Fiddler2 抓包工具,让你的信息无处可藏
  11. 向量 数量积vs向量积
  12. c语言猜拳游戏教案,幼儿园中班游戏《猜拳游戏》的教案
  13. Flutter从入门到能寄几玩儿
  14. 将两个数组不同的元素拼接成一个字符串
  15. iOS新增3DTouch分享app菜单 (#原来iphone可以称重# ​ )
  16. 世界著名人工岛,中国有三个很多人都不知道?
  17. Java并发——CountDownLatch
  18. 远程桌面链接怎么用(win10电脑远程桌面连接工具怎么使用)
  19. vim 删除行首和行尾空格
  20. 2017年GitHub中最为流行的30个开源机器学习项目

热门文章

  1. 4月份阿里云ECS和VPC升级公告
  2. oracle备份恢复之rman恢复到异机
  3. WIN7盗版的警告!你见过吗?
  4. 将 Microsoft Excel 导入至 MySQL
  5. 传微软有意收购EA公司,连《绝地求生》的蓝洞也想一并收入囊中
  6. 在 Linux 上模拟系统负载
  7. WebApi接口 - 响应输出xml和json
  8. block用法(转)
  9. 阮征:互联网金融下的智能客户服务探索
  10. winformDatagridview无法编辑的问题