Groups
Groups
Sign in
Groups
Groups
symfonybook_cn
Conversations
About
Send feedback
Help
No driver has been registered to handle connection type
18 views
Skip to first unread message
Jeremy
unread,
Sep 13, 2008, 3:20:58 AM
9/13/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to symfonybook_cn
我的配置文件databases.yml:
all:
dev:
class: sfPropelDatabase
param:
dsn: mysql://root:root@localhost/tag
一执行数据库操作就出现以下错误:
No driver has been registered to handle connection type
我执行的时候已经清cache了,什么原因呢?
Jerry
unread,
Nov 4, 2008, 11:03:52 PM
11/4/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to symfonybook_cn
symfony使用Propel作为ORM,执行数据库操作任务的相关propel命令,如propel-build-schema, propel-
build-sql,它们不使用databases.yml中定义的连接,而是使用propel.ini中的连接。所以你必须在propel.ini中
也进行数据库配置。
Reply all
Reply to author
Forward
0 new messages