z tego co się orientuję część z was bawi się w propel'u. Znacie może jakiś dobry tutorial oparty o mysql. Bawię się tym już od 2 dni - dzisiaj wreszcie po wielkich bojach skonfigurowałem wszytko, ale o ile jeszcze z sqlite jakoś mi się udawało, to nie mogę stworzyć xml'i do połączenia z mysql. Ciągle a to brak identyfikacji hasła, a to zła scieżka dostępu itd itp.
Byłbym wdzięczny, gdyby ktoś wskazał jakiś opis współpracy z mysql, albo udostępnił pliki build.properties i runtime-conf.xml bo już wyczerpałem swoje zdolności współpracy z google dzisiaj

ja teraz mam coś takiego w build.properites
Cytat
# The name of the project
propel.project = bookstore
# The database driver
propel.database = mysql
# The connection parameters (optional)
#propel.database.url = sqlite:///home/marcin/bookstore.db
# note 3 slashes ^ (sqlite:// + /path/to/bookstore.db)
propel.database.url = mysql://root:@localhost/bookstore
propel.mysql.tableType = InnoDB
propel.project = bookstore
# The database driver
propel.database = mysql
# The connection parameters (optional)
#propel.database.url = sqlite:///home/marcin/bookstore.db
# note 3 slashes ^ (sqlite:// + /path/to/bookstore.db)
propel.database.url = mysql://root:@localhost/bookstore
propel.mysql.tableType = InnoDB
i cos takiego w runtime-conf.xml
Cytat
<?xml version="1.0" encoding="ISO-8859-1"?>
<config>
<log>
<ident>propel-bookstore</ident>
<level>7</level>
</log>
<propel>
<datasources default="bookstore">
<datasource id="bookstore">
<!-- the Propel adapter will usually be the same as phptype of connection DSN -->
<adapter>mysql</adapter>
<connection>
<phptype>mysql</phptype>
<database>bookstore</database>
<hostspec>localhost</hostspec>
<username>root</username>
<password>moje_haslo</password>
</connection>
</datasource>
</datasources>
</propel>
</config>
<config>
<log>
<ident>propel-bookstore</ident>
<level>7</level>
</log>
<propel>
<datasources default="bookstore">
<datasource id="bookstore">
<!-- the Propel adapter will usually be the same as phptype of connection DSN -->
<adapter>mysql</adapter>
<connection>
<phptype>mysql</phptype>
<database>bookstore</database>
<hostspec>localhost</hostspec>
<username>root</username>
<password>moje_haslo</password>
</connection>
</datasource>
</datasources>
</propel>
</config>