Je suis geting cette erreur dans Propel quand je lance mon application:Quelle est l'cause de cette erreur de propel?
PropelException: Unable to open PDO connection [wrapped: SQLSTATE[HY000] [14] unable to open database file]
J'ai tout essayé je peux penser mais ne peut pas comprendre ce qui est à l'origine du problème.
mes build.properties est:
propel.project = LinkCannon2
# The Propel driver to use for generating SQL, etc.
propel.database = sqlite
# This must be a PDO DSN
propel.database.url = sqlite://Users/GMan/Public/Source/LinkCannon2/test/data/LinkCannon2TestDB.sq3
propel.addGenericMutators = true
Et mon exécution est-conf.xml:
<propel> <datasources default="LinkCannon2"> <datasource id="LinkCannon2"> <!-- this ID must match <database name=""> in schema.xml --> <adapter>sqlite</adapter> <!-- sqlite, mysql, myssql, oracle, or pgsql --> <connection> <classname>DebugPDO</classname> <dsn>sqlite://localhost///Users/GMan/Public/Source/LinkCannon2/test/data/LinkCannon2TestDB.sq3</dsn> </connection> </datasource> </datasources> <debugpdo> <logging> <details> <method> <enabled>true</enabled> </method> <time> <enabled>true</enabled> </time> <mem> <enabled>true</enabled> </mem> </details> </logging> </debugpdo> </propel> </config>