Hello, symfony propel:insert-sql problem

11 views
Skip to first unread message

Mihai Dumitrache

unread,
Mar 27, 2009, 5:47:46 PM3/27/09
to Symfony Users London
Hello,
I am new to this group, but i hope that you can help me.

I want to build a symfony project, but "php symfony propel:insert-sql"
or build-all gives me this error:

propel > insert-sql:
[propel-sql-exec] Executing statements in file: /var/www/mudjo/data/
sql/lib.model.schema.sql
[propel-sql-exec] Our new url -> mysql:dbname=mudjo;host=localhost
[PHP Error] Creole::include_once(mysql.php): failed to open stream: No
such file or directory [line 366 of /var/www/mudjo/lib/symfony/plugins/
sfPropelPlugin/lib/vendor/creole/Creole.php]
[PHP Error] Creole::include_once(): Failed opening 'mysql.php' for
inclusion (include_path='/var/www/mudjo/lib/symfony:/var/www/mudjo:/
var/www/mudjo/lib/symfony/plugins/sfPropelPlugin/lib/vendor/propel-
generator/classes:/var/www/mudjo/lib/symfony/plugins/sfPropelPlugin/
lib/task/../vendor:.:/usr/share/php:/usr/share/pear:/var/www/mudjo/lib/
symfony/plugins/sfPropelPlugin/lib/task/../vendor') [line 366 of /var/
www/mudjo/lib/symfony/plugins/sfPropelPlugin/lib/vendor/creole/
Creole.php]
Execution of target "insert-sql" failed for the following reason: /var/
www/mudjo/lib/symfony/plugins/sfPropelPlugin/lib/vendor/propel-
generator/build-propel.xml:296:1: [wrapped: Unable to load driver
class: mysql]
[phing] /var/www/mudjo/lib/symfony/plugins/sfPropelPlugin/lib/
vendor/propel-generator/build-propel.xml:296:1: [wrapped: Unable to
load driver class: mysql]

This project is a symfony 1.2 one. I have pdo_mysql installed.
Can someone help me please ?
Thank you
Reply all
Reply to author
Forward
0 new messages