Created
March 17, 2012 21:45
-
-
Save dominikzogg/2065573 to your computer and use it in GitHub Desktop.
PropelException: No connection information in your runtime configuration file for datasource ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<config> | |
<propel> | |
<datasources default="silextest"> | |
<datasource id="silextest"> | |
<adapter>mysql</adapter> <!-- sqlite, mysql, mssql, oracle, or pgsql --> | |
<connection> | |
<dsn>mysql:host=localhost;dbname=silextest</dsn> | |
<user>root</user> | |
<password>root</password> | |
<options> | |
<option id="ATTR_PERSISTENT">false</option> | |
</options> | |
<attributes> | |
<option id="ATTR_ERRMODE">PDO::ERRMODE_WARNING</option> | |
<option id="ATTR_EMULATE_PREPARES">true</option> | |
</attributes> | |
<settings> | |
<setting id="charset">utf8</setting> | |
</settings> | |
</connection> | |
</datasource> | |
</datasources> | |
</propel> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi I am having these errors in propel can you help me
Fatal error: Uncaught exception 'PropelException' with message 'No connection information in your runtime configuration file for datasource [relations]' in C:\wamp\www\relations\propel\runtime\lib\Propel.php on line 573
PropelException: No connection information in your runtime configuration file for datasource [relations] in C:\wamp\www\relations\propel\runtime\lib\Propel.php on line 573