I just tried this and unfortunately it is not so straight forward. The driver loads but then it is unable to access the tables. Seems like the problem is due to case sensitivity — CipherMail is looking for the “Admin” table, where I have “admin” … I will look into this more later on.
~ Laz Peterson Paravis, LLC Ph: 951.319.3240 x201 > On Jun 30, 2015, at 8:02 AM, Laz C. Peterson <[email protected]> wrote: > > In theory, you should just be able to drop that MySQL JDBC driver inside > /usr/share/djigzo/lib/lib.d/ and then change the hibernate.cfg.xml to reflect > these options: > > <hibernate-configuration> > <session-factory> > <!-- <property > name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property> > <property > name="hibernate.connection.driver_class">org.postgresql.Driver</property> > <property > name="hibernate.connection.url">jdbc:postgresql://127.0.0.1/djigzo/</property> > <property name="hibernate.connection.username">djigzo</property> > <property name="hibernate.connection.password">djigzo</property> > --> > <property > name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> > <property > name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> > <property > name="hibernate.connection.url">jdbc:mysql://127.0.0.1/djigzo</property> > <property name="hibernate.connection.username">djigzo</property> > <property name="hibernate.connection.password">djigzo</property> > > I have not tried this yet, so I don’t know how well or if it even works. > > ~ Laz Peterson > Paravis, LLC > Ph: 951.319.3240 x201 > >> On Jun 30, 2015, at 7:08 AM, [email protected] wrote: >> >> Hello Laz, hello Martijn, >> >> Quoting "Laz C. Peterson" <[email protected]>: >> >>> I believe MariaDB and MySQL share the same connection libraries, yes? I >>> can share my experiences here. >> >> May someone show me details, how I can set up Ciphermail/Hibernating using a >> MariaDB? >> >> Thanx! >> >> >> ttyl >> Django >> -- >> http://dokuwiki.nausch.org >> http://wetterstation-pliening.info >> http://ebersberger-liedersammlung.de >> >> _______________________________________________ >> Users mailing list >> [email protected] >> https://lists.djigzo.com/lists/listinfo/users > > _______________________________________________ > Users mailing list > [email protected] > https://lists.djigzo.com/lists/listinfo/users _______________________________________________ Users mailing list [email protected] https://lists.djigzo.com/lists/listinfo/users
