Going by the instructions here: http://www.propelorm.org/wiki/Documentation/1.5/Existing-Database
I've created a folder and placed a file "build.properties" with the contents:
propel.project = test
# The Propel driver to use for generating SQL, etc.
propel.database = mysql
# This must be a PDO DSN
propel.database.url = localhost:dbname=test
propel.database.user = root
propel.database.password = root
In the cmd I type propel-gen reverse
And the error message i get: There was an error building XML from metadata: could not find driver
After hours of searching i feel i've tried every config. I've enabled the drivers in the php.ini file:
extension=php_mysql.dll
extension=php_pdo_mysql.dll
I'm using Zend Server
any ideas?
Change this:
propel.database.url = localhost:dbname=test
to this
propel.database.url = mysql:host=localhost;dbname=test
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With